Electronics Programming
Linux Posts, Programming Posts, Atmega Posts and others.
Search This Blog
Wednesday, February 4, 2009
Frequency of a word in a file
cat file | tr -sc A-Za-z '\012' | sort | uniq -c | sort -n
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment