Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dict(7) [plan9 man page]

DICT(7) 						 Miscellaneous Information Manual						   DICT(7)

NAME
dict - dictionary browser SYNOPSIS
dict [ -k ] [ -d dictname ] [ -c command ] [ pattern ] DESCRIPTION
Dict is a dictionary browser. If a pattern is given on the command line, dict prints all matching entries; otherwise it repeatedly accepts and executes commands. The options are -d dictname Use the given dictionary. The default is oed, the second edition of the Oxford English Dictionary. A list of available dictionar- ies is printed by option -d?. -c command Execute one command and quit. The command syntax is described below. -k Print a pronunciation key. Patterns are regular expressions (see regexp(6)), with an implicit leading and trailing Patterns are matched against an index of headwords and variants, to form a `match set'. By default, both patterns and the index are folded: upper case characters are mapped into their lower case equivalents, and Latin accented characters are mapped into their non-accented equivalents. In interactive mode, there is always a `current match set' and a `current entry' within the match set. Commands can change either or both, as well as print the entries or infor- mation about them. Commands have an address followed by a command letter. Addresses have the form: /re/ Set the match set to all entries matching the regular expression re, sorted in dictionary order. Set the current entry to the first of the match set. !re! Like /re/ but use exact matching, i.e., without case and accent folding. n An integer n means change the current entry to the nth of the current match set. #n The integer n is an absolute byte offset into the raw dictionary. (See the A command, below.) addr+ After setting the match set and current entry according to addr, change the match set and current entry to be the next entry in the dictionary (not necessarily in the match set) after the current entry. addr- Like addr+ but go to previous dictionary entry. The command letters come in pairs: a lower case and the corresponding upper case letter. The lower case version prints something about the current entry only, and advances the current entry to the next in the match set (wrapping around to the beginning after the last). The upper case version prints something about all of the match set and resets the current entry to the beginning of the set. p,P Print the whole entry. h,H Print only the headword(s) of the entry. a,A Print the dictionary byte offset of the entry. r,R Print the whole entry in raw format (without translating special characters, etc.). If no command letter is given for the first command, H is assumed. After an H, the default command is p. Otherwise, the default command is the previous command. FILES
/lib/oed/oed2 /lib/oed/oed2index Other files in /lib. SEE ALSO
regexp(6) SOURCE
/sys/src/cmd/dict BUGS
A font with wide coverage of the Unicode Standard should be used for best results. (Try /lib/font/bit/pelm/unicode.9.font.) If the pattern doesn't begin with a few literal characters, matching takes a long time. The dictionaries are not distributed outside Bell Labs. DICT(7)

Check Out this Related Man Page

XFCE4-DICT(1)															     XFCE4-DICT(1)

NAME
xfce4-dict -- a client program to query different dictionaries SYNOPSIS
xfce4-dict [option] [text ...] DESCRIPTION
xfce4-dict allows you to search different kinds of dictionary services for words or phrases and shows you the result. Currently you can query a "Dict" server(RFC 2229), any online dictionary service by opening a web browser or search for words using a spell check program like aspell, ispell or enchant. Homepage: http://goodies.xfce.org/projects/applications/xfce4-dict OPTIONS
If called without any arguments, the xfce4-dict main window is shown. Any passed text argument(s) are used as search text. -d, --dict Search the given text using a Dict server(RFC 2229). -w, --web Search the given text using a web-based search engine. -t, --text-field Grab the focus on the text field in the panel (has no effect if panel plugin is not loaded). -s, --spell Check the given text with a spellchecker. -i, --ignore-plugin Start stand-alone application even if the panel plugin is loaded. -c, --clipboard Grabs the PRIMARY selection content (X selection clipboard), uses it as search text and performs a search. This is useful when you want to create keyboard shortcuts for this command. The search method can be specified with the -d, -w and -s options, if not specified the default search method is used. If the PRIMARY clipboard doesn't contain any text, the normal clipboard is used. -v, --verbose Be verbose (print useful status messages). -V, --version Show version information. -?, --help Show help information and exit. xfce4-dict supports all generic GTK options, a list is available on the help screen. BUGS
There is a limitation of max. 12 characters in passing a search term to xfce4-dict when the panel plugin is loaded. That is, if you pass a search term as command line argument(s) to xfce4-dict which is longer than 12 characters, it is truncated. To be exact, the limit is 12 bytes so if the search term contains any non-ASCII characters it might be even less than 12 characters. To work around this limitation, you can add the command line '-i' so that xfce4-dict will start a single stand-alone application. Then all passed text is used as search term. AUTHOR
This manual page was written by Enrico Troeger. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2, or (at your option) any later version. xfce4-dict 0.6.0 December 31, 2009 XFCE4-DICT(1)
Man Page