Skip to content

Instantly share code, notes, and snippets.

@sxv
Created December 2, 2016 01:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sxv/163333f5603d5ded588447e4654836c7 to your computer and use it in GitHub Desktop.
Save sxv/163333f5603d5ded588447e4654836c7 to your computer and use it in GitHub Desktop.
gawk '//{x=tolower($0); gsub(/[aeiou]/,"",x); a[x]++; b[x]=$0;}END{for(i in a){ if(a[i]==1){print i, b[i]} }}' /usr/share/dict/words
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment