align by common substring by 0mg

for(h=s="";s=s||readline(i=0);n?s=i%n?" "+s:print(h=s):0)n=~h.search(s.substr(i++,4))

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

download

return to the top page