27 6 / 2012
simple command line application
You are command line lover, and you need a dictionary. I want to share this little zsh script.
Script:
dict(){
if [[ $# -ge 2 ]] then
echo “getdef: too many arguments” >&2
return 1
else
curl “dict://dict.org/d:$1”
fi
}
Usage:
dict <eng_word>