for(p=0;c=readline(s='')+s,c!=p;print(/.*\S/(s)),p=c)for(i in p+c+0)s+=/\./(p[i-1]+p[i])?'|':' ',s+=/\./(p[i]+c[i])?'_':' '
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page