expand text by nn

{for($(FS=_)=$0;i<n;){i++
for(o=j=_;c=$(j/n+1);)o=o(j*++j%n&&i%n>1?" ":c)
print o}n=$0}

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

download

return to the top page