Antes de leer esta entrada os recomiendo daros un paseo por la primera parte, en la que os argumento el porqué de cURL además de unos ejemplos para empezar. Bien, continuaremos con un par de ejemplos algo más complejos, vamos a usar cURL para buscar palabras en el diccionario:
$ curl dict://dict.org/d:stalwart
220 miranda.org dictd 1.9.15/rf on Linux 2.6.26-bpo.1-686
<400549.18119.1238445667@miranda.org>
250 ok
150 1 definitions retrieved
151 “Stalwart” gcide “The Collaborative International Dictionary of English v.0.48″
Stalwart \Stal”wart\ (st[o^]l”w[~e]rt or st[add]l”-; 277),
Stalworth \Stal”worth\ (-w[~e]rth), a. [OE. stalworth, AS.
staelwyr[eth] serviceable, probably originally, good at
stealing, or worth stealing or taking, and afterwards
extended to other causes of estimation. See {Steal}, v. t.,
{Worth}, a.]
Brave; bold; strong; redoubted; daring; vehement; violent. “A
stalwart tiller of the soil.” –Prof. Wilson.
[1913 Webster]