Skip to content

Instantly share code, notes, and snippets.

@jappy
Created March 11, 2012 07:26
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 jappy/2015423 to your computer and use it in GitHub Desktop.
Save jappy/2015423 to your computer and use it in GitHub Desktop.
unix command to count sequences of vowels from a text
tr 'a-z' 'A-Z' < filename.txt | tr -sc 'AEIOU' 'n' | sort | uniq -c | sort -nr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment