Word based count on a piece of text
cat <file_name> | tr '.,' ' ' | tr '[:blank:]' '\n' | tr '[:upper:]' '[:lower:]' | sort -i | uniq -c | sort -n
Written by Bharath ツ
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#