DICT protocol
June 3, 2008
Leave a comment
Did you know there is a way to access dictionary through terminal? It is accomplished by using DICT protocol. According to Wikipedia (http://en.wikipedia.org/wiki/DICT):
“DICT is a dictionary network protocol created by the DICT Development Group. It is described by RFC 2229. Its goal is to surpass the Webster protocol and to allow clients to access more dictionaries during use. Dict servers and clients use TCP port 2628.”
To try it out, open up your terminal and enter this line:
curl dict://dict.org/d:word_for_lookup
In the following example I’ve used word “seldom”:
