awk 'split($0,A){for(i=NF=OFS="/";a=A[++i];$j=$j a)j=++B[NR,a]}1' FS=
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page