Annotation of cci/usr/src/man/man1/spell.1, revision 1.1.1.2

1.1       root        1: .TH SPELL 1 "12 September 1983"
                      2: .SH NAME
                      3: spell, spellin, spellout \- find spelling errors
                      4: .SH SYNOPSIS
                      5: .B spell
                      6: [
                      7: .B \-v
                      8: ] [
                      9: .B \-b
                     10: ] [
                     11: .B \-x
                     12: ] [
                     13: .B \-d
                     14: hlist ] [
                     15: .B \-s
                     16: hstop ] [
                     17: .B \-h
                     18: spellhist
                     19: ] [ file ] ...
                     20: .PP
                     21: .B spellin
                     22: [ list ]
                     23: .PP
                     24: .B spellout
                     25: [
                     26: .B \-d
                     27: ] list
                     28: .SH DESCRIPTION
                     29: .I Spell
                     30: collects words from the named documents,
                     31: and looks them up in a spelling list.
                     32: Words that neither occur among nor are derivable
                     33: (by applying certain inflections,
                     34: prefixes or suffixes) from words in the spelling list
                     35: are printed on the standard output.
                     36: If no files are named,
                     37: words are collected from the standard input.
                     38: .PP
                     39: .I Spell
                     40: ignores most
                     41: .I troff,
                     42: .I tbl
                     43: and
                     44: .IR  eqn (1)
                     45: constructions.
                     46: .PP
                     47: Under the
                     48: .B \-v
                     49: option, all words not literally in the spelling list are printed,
                     50: and plausible derivations from spelling list words are indicated.
                     51: .PP
                     52: Under the 
                     53: .B \-b
                     54: option, British spelling is checked.
                     55: Besides preferring
                     56: .ft I
                     57: centre, colour, speciality, travelled,
                     58: .ft R
                     59: etc.,
                     60: this option insists upon
                     61: .I -ise
                     62: in words like
                     63: .I standardise,
                     64: Fowler and the OED to the contrary notwithstanding.
                     65: .PP
                     66: Under the 
                     67: .B \-x
                     68: option, every plausible stem is printed with `=' for each word.
                     69: .PP
                     70: The spelling list is based on many sources.
                     71: While it is more haphazard than an ordinary
                     72: dictionary, it is also more effective with
                     73: proper names and popular technical words.
                     74: Coverage of
                     75: the specialized vocabularies of biology,
                     76: medicine and chemistry is light.
                     77: .PP
                     78: The auxiliary files used for the spelling list,
                     79: stop list, and history file may be specified by
                     80: arguments following the
                     81: .BR \-d ,
                     82: .BR \-s ,
                     83: and
                     84: .B \-h
                     85: options.
                     86: The default files are indicated below.
                     87: Copies of all output
                     88: may be accumulated in the history file.
                     89: The stop list filters out misspellings (e.g. thier=thy\-y+ier)
                     90: that would otherwise pass.
                     91: .PP
                     92: Two routines help maintain the hash lists used by
                     93: .I spell.
                     94: Both expect a set of words, one per line,
                     95: from the standard input.
                     96: .I Spellin
                     97: combines the words from the standard input and the
                     98: preexisting
                     99: .I list
                    100: file and places a new list on the standard output.
                    101: If no 
                    102: .I list
                    103: file is specified, the new list is created from scratch.
                    104: .I Spellout
                    105: looks up each word from the standard input and prints
                    106: on the standard output
                    107: those that are missing from (or present on, with
                    108: option
                    109: .BR \-d )
                    110: the hashed
                    111: .I list
                    112: file.
                    113: For example, to verify that
                    114: .I hookey
                    115: is not on the default spelling list, add it to your own
                    116: private list, and then use it with
                    117: .IR spell ,
                    118: .PP
                    119: .RS
                    120: .nf
                    121: echo  hookey  |  spellout  /usr/dict/hlista
                    122: echo  hookey  |  spellin  /usr/dict/hlista  >  myhlist
                    123: spell  \-d  myhlist  huckfinn
                    124: .RE
                    125: .SH FILES
1.1.1.2 ! root      126: .nf
        !           127: /usr/dict/hlist[ab]     hashed spelling lists, American & 
        !           128:                         British, default for \fB-d\fR
        !           129: /usr/dict/hstop         hashed stop list, default for \fB-s\fR
        !           130: /dev/null               history file, default for \fB-h\fR
        !           131: /tmp/spell.$$\(**          temporary files
1.1       root      132: /usr/lib/spell
                    133: .br
                    134: .SH SEE ALSO
                    135: deroff(1), sort(1), tee(1), sed(1)
                    136: .SH BUGS
                    137: The spelling list's coverage is uneven;
                    138: new installations will probably wish to 
                    139: monitor the output for several months to gather
                    140: local additions.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.