docs/master

view scripts/wordfreq @ 236:49d3aa0d128a

style: Removed unused macro code.
author markus schnalke <meillo@marmaro.de>
date Mon, 16 Jul 2012 11:31:25 +0200
parents
children
line source
1 #!/bin/sh
2 #
3 # print frequency of words
5 deroff "$@" | tr -cs A-Za-z '\012' | tr A-Z a-z |
6 sort | uniq -c | sort -nr | sed 20q