From 69e24c903a4e37731cb3694b6fdb4a24f39ff37b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 7 Dec 2021 09:39:46 +0100 Subject: [PATCH] usingcurl/dict.md: added --- SUMMARY.md | 3 ++- index-words | 1 + usingcurl/dict.md | 22 ++++++++++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 usingcurl/dict.md diff --git a/SUMMARY.md b/SUMMARY.md index 3284700a6f..2d6991eacb 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -66,8 +66,9 @@ * [Reading email](usingcurl/reademail.md) * [Sending email](usingcurl/smtp.md) * [MQTT](usingcurl/mqtt.md) - * [TELNET](usingcurl/telnet.md) * [TFTP](usingcurl/tftp.md) + * [TELNET](usingcurl/telnet.md) + * [DICT](usingcurl/dict.md) * [TLS](usingcurl/tls.md) * [SSLKEYLOGFILE](usingcurl/tls/sslkeylogfile.md) * [Copy as curl](usingcurl/copyas.md) diff --git a/index-words b/index-words index 6fcaf2d58c..cc986cca33 100644 --- a/index-words +++ b/index-words @@ -224,6 +224,7 @@ CURLUPART_USER debian Debug callback development +DICT environment variables ETag etiquette diff --git a/usingcurl/dict.md b/usingcurl/dict.md new file mode 100644 index 0000000000..5729f11ef8 --- /dev/null +++ b/usingcurl/dict.md @@ -0,0 +1,22 @@ +# DICT + +DICT is a protocol for dictionary lookups. + +## Usage + +For fun try + + curl dict://dict.org/m:curl + curl dict://dict.org/d:heisenbug:jargon + curl dict://dict.org/d:daniel:gcide + +Aliases for 'm' are 'match' and 'find', and aliases for 'd' are 'define' and +'lookup'. For example, + + curl dict://dict.org/find:curl + +Commands that break the URL description of the RFC (but not the DICT +protocol) are + + curl dict://dict.org/show:db + curl dict://dict.org/show:strat