Back and forth by clock

:
$!N
s/ /\n/
t
P
:a
/^ *\S/s/\S/ /
ta
:b
/\S*\n\n/{P;s///;P;ba}
s/ \(\S*\n\)\(.\)/\2\1/
tb

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

download

return to the top page