align by common substring by leonid

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

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

download

return to the top page