shortest non occuring sequence by tails

h;z;G
:
/^\(.*\)\n.*\1/{s/$/-/m;:1;s/-/<abcde-a>/;s/\(.\?\)<.*\1\(-*.\).*>/\2/;t1;b}
P;d

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

download

return to the top page