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

gnome-dictionary(1)						   User Commands					       gnome-dictionary(1)

NAME
gnome-dictionary - look up words in an online dictionary SYNOPSIS
gnome-dictionary [--database=database] [--list-sources] [--look-up=word] [--match=word] [--no-window] [--source=source] [--strategy=strat- egy] [gnome-std-options] DESCRIPTION
The Dictionary application enables you to look up an online dictionary for the definitions and correct spelling of words. OPTIONS
The following options are supported: -D, --database=database Specify the database to use. -l, --list-sources Show available dictionary sources. --look-up=word Specify the word to look up. --match=word Specify the word to match. -n, --no-window Print definitions found on the console without launching the GUI. -s, --source=source Uses the specified source for looking up words. This does not affect the global settings. -S, --strategy=strategy Specify the strategy to use. gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more infor- mation. OPERANDS
None. EXAMPLES
Example 1: Launching Dictionary example% gnome-dictionary EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/gnome-dictionary Executable for Dictionary. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-dictionary | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
Dictionary Manual Latest version of the GNOME Desktop User Guide for your platform. attributes(5), gnome-std-options(5) NOTES
Written by Glynn Foster, updated by Brian Cameron, Sun Microsystems Inc., 2007. SunOS 5.11 09 Nov 2007 gnome-dictionary(1)
Man Page