Created
March 10, 2012 18:25
-
-
Save jappy/2012386 to your computer and use it in GitHub Desktop.
unix command to extract unique words by frequency from a file (Mac/Linux)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tr -sc 'A-Za-z' '\n' < filename.txt | sort | uniq -c | sort -n -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment