dict(1sh) - Get definition of a word using DICT Protocol and libcurl(3c) (LICENSE:PD)
Synopsis
Description
Options
Example
See Also
fpm-dict(1) - [word(s) [--like [strategy]] [--server SERVER]]| -url FULL_URL| [--help|--version]
By default fpm-dict(1) looks up the definitions of the given words in the dictionaries at dict://dict.org/ on port 2628.You can also search for similar words, words by substring or regular expression, as substrings ...
With no options a table of the available dictionaries is produced.
Note there are many dictionaries hosted on servers around the WWW.
fpm-dict(1) uses the DICT Protocol as described in RFC2229 and the libcurl(3c) library via a clone of the fortran-curl(3f) interface.
word(s) word to find and display the definition of. Can be of form word:dictionary. The default dictionary is "all". --like strategy look for words like the word specified instead of showing definitions, using an optional search strategy. defaults to trying to guess the spelling of the word(s) assuming it is misspelled. If no words are present defaults to showing available strategies. --server DICT server name. Default is "www.dict.org". --url directly specify url: dict://HOST:PORT/m:MATCH_STRING:DATABASE_NAME:STRATEGY dict://HOST:PORT/d:WORD:DATABASE_NAME--help,-h display this help and exit --version,-v output version information and exit
Sample usage:
> fpm-dict # list dictionary names and descriptions > fpm-dict bash # search all the dictionaries for specified word > fpm-dict bash: # use just the default dictionary > # Find the meaning of "bash" in the "computer terms" dictionary: > fpm-dict bash:foldoc > fpm-dict gold:elements # just use the "elements" dictionary > fpm-dict slovakia:world02 > > fpm-dict bash --like # look for words like the one specified > fpm-dict q[aeiou] --like RE # use RE (Regular Expression) > fpm-dict urban --like substring > > # direct use of RFC 2229 syntax > fpm-dict --url dict://www.dict.org/help > fpm-dict --url dict://www.dict.org/show strat > fpm-dict --url dict://www.dict.org/m:urban:english:regexp
look(1), spell(1), aspell(1), ispell(1), wnb(1WordNet)
Nemo Release 3.1 | fpm-dict (1) | February 23, 2025 |