Swap The Characters by llhuii(tails)

n=i=index($0=$(OFS=FS=E)" "," "){for(;i<NF;$index($0,$++i)=c)c=$i}NF=n-1

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

download

return to the top page