{for(i=1;i<length($0)+3;++i){n=(n*2+(substr($0" ",i,1)>" "))%8;printf(0<n&&n<5?"#":" ")}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page