Y by tails

s/^/.\x09/
:
$!N
s/\x01/\x02\x02123456789&01\x03/
s/\(.\)\x02.*\1\(\x01*.\).*\x03/\2/
t
/\x09Y/P
s/.\x09./\x01\n\x09/
t
d

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

download

return to the top page