Word frequency count FIXED by eban

($*|a=$<.read.downcase.delete('^a-z 
').split.sort).map{|x|puts"#{a.grep(x).size} "+x}

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

download

return to the top page