morgant/tools-osx — pull request #9 by dpkendal (2012-01-08 20:47:56+00:00)
Title: dict 1.1, precompiled

dict 1.1 adds multiple word lookups (e.g. `dict hello world` will look up both 'hello' and 'world' in that order) and a new 'interactive' mode. Using `dict` alone, without arguments, will read words from STDIN.

I've also updated the Rakefile to special-case `dict` and use `macrubyc` to precompile, dramatically increasing its startup time. I'm not sure whether I should go all the way and make a default rake task which does this. If I did this, the install process would become `rake`; `sudo rake install` instead of just `rake install`. Not sure if it's worth making the separation for the sake of one script. For now, putting it in the `:install` task will do. Thoughts?

(Neat things to try with this version of dict: `dict | say`, a talking dictionary; `< /usr/share/dict/words dict` -- not recommended; `dict | grep ^noun|verb|adjective|adverb$` (etc), finds out all the possible senses of a word)