FS=_;$0=$0{for(l=NF;$j||$++i>j=_;)printf(i%l&&j%l?" ":$((i%l?j?i:l-i:i?l-j:j)%l+1))($++j?_:RS)}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page