Word frequency count FIXED by murky-satyr

puts$*|(a=gets(p).downcase.tr('!-`~','').split.sort).map{|w|"#{a.count w} "+w}

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

download

return to the top page