Diamond Matrix by clock

s/./12345678&87654321/
s/\(.\).*\1.*\1/\1/
h
:
s/\(.*\(\w\)\).\2/ \1/
H;G;h
s/\n.*//
/2/b
g

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

download

return to the top page