docs/master

annotate scripts/wordfreq @ 234:eba3744fb238

Added my set of helper scripts. Removes the spell makefile target as it was not use{d,ful} anyway. Btw: I should have ran script/doubles before I printed the document. :-/
author markus schnalke <meillo@marmaro.de>
date Mon, 16 Jul 2012 11:23:30 +0200
parents
children
rev   line source
meillo@234 1 #!/bin/sh
meillo@234 2 #
meillo@234 3 # print frequency of words
meillo@234 4
meillo@234 5 deroff "$@" | tr -cs A-Za-z '\012' | tr A-Z a-z |
meillo@234 6 sort | uniq -c | sort -nr | sed 20q