RosettaCodeData/Task/Letter-frequency/Ruby/letter-frequency-3.rb

2 lines
57 B
Ruby

p File.open("/usr/share/dict/words","r").each_char.tally