Doug Mcllroy's solution to "find n most frequent words in a file"
tr -cs A-Za-z '\n' | tr A-Z a-z | sort | uniq -c | sort -rn | sed ${1}q