Datasheet
694
UNIX Programs That Come in Handy
How do you spell success? C-u-r-l!
Sure, HTTP and FTP are handy, but did you know that there are many
other protocols for network communications? One of the niftier ones is the
Dictionary protocol. With it, you can look up words from any server that
understands the protocol. Suppose, for example, that you want to know the
meaning of the term DVD. Enter the following command to find out:
curl dict://dict.org/d:DVD
With curl, Dictionary, and your Dictionary Dashboard widget on the same
Macintosh, you might never use a “real” paper dictionary again!
55_9781118022061-bk08ch01.indd 69455_9781118022061-bk08ch01.indd 694 8/10/11 9:39 AM8/10/11 9:39 AM