Permutations by emoken

s/^/:012345%/
:
s/\(.*\)\(:.*\)\(.\)%\(.*\)/\1\2%\3\4\n\1\3\2\4%/gm
s/\(.*\):%$\|.*:%.\+\n/\1/gm
t
s/.\B/& /mg

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

download

return to the top page