Transpose by iwadon

L=$<.read
1.upto(/\n/=~L){|n|L.map{|l|$><<l[n-1,1]};puts}

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

download

return top