Here is my shell script version:
for word in `cat [the file]`; do grep $word /usr/share/dict/words >
/dev/null && echo $word; done | awk -F ' ' '{ words[$1]++} END { for (
word in words ) { print words[word] " " word; }}' | sort -n
It's probably not the fastest... but I posted a solution first :)
-Dennis