Last Updated: February 25, 2016
·
185
· bigomega

Word based count on a piece of text

cat <file_name> | tr '.,' ' ' | tr '[:blank:]' '\n' | tr '[:upper:]' '[:lower:]' | sort -i | uniq -c | sort -n