I found that I often look words up on vocabulary.com. In my opinion, this is a process which could be greatly optimized.
So now I have this handy script for fetching word searches right from the comfort of my own terminal:
curl -s "http://www.vocabulary.com/dictionary/autocomplete?search=$@" | perl -pe '
s/^\s+$//g; # Remove blank lines
' | perl -pe '
# Remove all other junk.
vocabulary.sh <search term>
I just put this puppy in my ~/bin directory which is included in my execution path. No more worrying about going to the web browser for word lookups from my favorite dictionary! 🙂