X-Git-Url: https://jasonwoof.com/gitweb/?p=four-random-words.git;a=blobdiff_plain;f=word-frequency-here.bash;fp=word-frequency-here.bash;h=0000000000000000000000000000000000000000;hp=ee16c580d8c2ddf3f577de6ab3bff1f139de13d8;hb=57d9e16554b774bd9462a659b394692a2afae0f7;hpb=cf413581531b043ebe991259f9a2502f9e226486 diff --git a/word-frequency-here.bash b/word-frequency-here.bash deleted file mode 100755 index ee16c58..0000000 --- a/word-frequency-here.bash +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -find . -type f -print0 \ - | xargs -0 grep -I --no-filename -v '(notice)' \ - | sed -e 's/<[^>]*>//g; s/ / /g; s/&[nm]dash;/-/' \ - | sed -ne "s/^(..:..:.. ..) [a-zA-Z0-9@ _.-]\{1,25\}: \(.*\)$/\1/p" \ - | perl -0777 -p -e's/\s+/\n/mg' \ - | grep -v '^&.*;$' \ - | sed -e 's/^\W\+//g; s/\W\+$//g' \ - | grep '^[a-z.'\''-]\{3,16\}$' \ - | sort \ - | uniq -c \ - | sort -nr