On Sat, May 6, 2017 at 1:50 PM, Bakul Shah <bakul(a)bitblocks.com> wrote:
tr -cs A-Za-z '\n' | tr A-Z a-z | sort |
uniq -c | sort -rn | sed ${1}q
The cool thing about this thread is that I learned two things: what tr
-s does, and the Nq does for sed...
Sadly, this doesn't work so well for text that isn't ASCII-7 english...
Warner