Transpose by murky-satyr

t={}for l in io.lines()do for i=1,#l do t[i]=(t[i]or'')..l:sub(i,i)end end
print(table.concat(t,'\n'))

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

download

return to the top page