Shifting Pattern Fixed by shinh

s/$/\n/
:
h
s/\(.*\)\n\(.*\)/\2\1/
p
x
s/\(.\)\n/\n\1/
/^\n/!b
d

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

download

return to the top page