uniq words by emoken

H
$!d
g
s/ \+\|$/\n/g
:1
s/^\n*//
:
s/\(^\([^\n]*\n\)\(.*\n\)*\)\2/\1/
t
P
s/^[^\n]*//
/\n/b1

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

download

return to the top page