|
|
|
|
|
by literalusername
4416 days ago
|
|
The dict protocol, and dict.org in particular, provides easy access to Webster's 1913 as well as other dictionaries. I normally use Webster's 1913 from the command line, since I usually have a terminal in front of me. I keep this in my .zshrc: function dict () {
if [[ $1 == (d|m) ]]; then
curl dict://dict.org/$1:$2 | $PAGER
else
echo 'Unknown command. Use (d)efine or (m)atch.'
fi
}
That allows me to issue queries such as `dict d example` to define "example", or `dict m exampel` to figure out how "example" ought to be spelled. |
|