{n=$0;for(;x++<n;){NF=0;$(f+=x>n/2+1?-1:1)=$(n-f+(f>n/2))="X";print}}

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

download

return to the top page