Z by emoken

:
s/$/Z/
h
y/0123456789/9012345678/
x
G
s/[1-9]0*Z*\n.*\([0-8]9*\)/\1/
s/^0*//
/^Z/!b
p
h
y/Z/ /
s/ $/Z/
:1
s/  / /p
t1
g
/^Z$/d

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

download

return to the top page