align by common substring by rolf

a=""
while 1:b=raw_input(a);a=max(a.find(b[i:i+9])-i for i in range(55))*" "+b+"\n"

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

download

return to the top page