Skip to content

Instantly share code, notes, and snippets.

@antimatter15
Created June 15, 2010 01:13
Show Gist options
  • Save antimatter15/438550 to your computer and use it in GitHub Desktop.
Save antimatter15/438550 to your computer and use it in GitHub Desktop.
#Depressing
irb(main):038:0> open('/usr/share/dict/words').each {|word| w = word.strip.downcase.gsub(/[^a-z]/,''); if w == w.tr("a-z","n-za-m");puts w;end }
=> #<File:/usr/share/dict/words>
irb(main):039:0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment