BWT by skylamer

#!ruby -n\x0d
b=chomp.gsub(/./,'\\\'\`\&\x0d
').sort;puts"#{b.index$_+$/} #{b.to_s.scan /.$/}"

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

download

return to the top page