|
|
1.1 root 1: .TH SPELL 1
2: .CT 1 writing_aids
3: .SH NAME
4: spell \- find spelling errors
5: .SH SYNOPSIS
6: .B spell
7: [
8: .I option
9: ]
10: ...
11: [
12: .I file
13: ]
14: ...
15: .SH DESCRIPTION
16: .I Spell
17: looks up words from the named
18: .I files
19: (standard input default)
20: in a public spelling list and in a private list.
21: Possible misspellings\(emwords
22: that occur in neither and are not plausibly derivable
23: from the former\(emare placed on the standard output.
24: .PP
25: .I Spell
26: ignores constructs of
27: .IR troff (1)
28: and its standard preprocessors,
29: as well as constructs of
30: .IR tex (1).
31: It understands these options:
32: .TP
33: .B -b
34: Check British spelling.
35: .TP
36: .B -v
37: Print all words not literally in the spelling list, with
38: derivations.
39: .TP
40: .B -x
41: Print, marked with
42: .LR = ,
43: every stem as it is looked up in the spelling list,
44: along with its affix classes.
45: .PP
46: The private list, by default
47: .FR $HOME/lib/spelldict ,
48: is arranged one word per line.
49: .PP
50: Pertinent files may be specified by
51: environment variables, listed below with their default settings.
52: Copies of all output
53: are accumulated in the history file, if it exists and is writable.
54: .PP
55: As a matter of policy,
56: .I spell
57: does not admit multiple spellings of the same word.
58: Variants that follow general rules are preferred over
59: over those that don't, even when the unruly spelling is
60: more common.
61: Thus, in American usage, `modelled', `sizeable', and `judgment' are
62: rejected in favor of `modeled', `sizable', and `judgement'.
63: Agglutinated variants are shunned: `crewmember' and `backyard'
64: cede to `crew member' and `back yard' (noun) or `back-yard'
65: (adjective).
66: .SH FILES
67: .TF /usr/dict/spellhist
68: .TP
69: .F /usr/dict/amspell
70: American spelling list, hashed
71: .RB ( D_SPELL )
72: .TP
73: .F /usr/dict/brspell
74: British spelling list
75: .TP
76: .F /usr/dict/spellhist
77: history file
78: .RB ( H_SPELL )
79: .TP
80: .F $HOME/lib/spelldict
81: private list
82: .RB ( A_SPELL )
83: .TP
84: .F /usr/dict/spellprog
85: the main routine
86: .RB ( P_SPELL )
87: .TP
88: .F deroff
89: (or
90: .FR delatex )
91: for removing punctuation and
92: .IR troff (1)
93: constructs
94: .RB ( DEROFF )
95: .SH SEE ALSO
96: .IR dict (7),
97: .IR deroff (1),
98: .IR wwb (1)
99: .SH BUGS
100: For efficiency spell uses a probabilistic method,
101: which has a small chance (<0.001) of accepting a
102: random string as a word.
103: .br
104: The heuristics of
105: .IR deroff (1)
106: and
107: .IR delatex ,
108: used to excise formatting information, are imperfect.
109: .br
110: The spelling list's coverage is uneven;
111: in particular biology, medicine, and chemistry, and
112: perforce proper names,
113: are covered very lightly.
114: New installations may wish to
115: monitor output (with
116: .FR /usr/dict/spellhist )
117: to catch local additions.
118: .br
119: British spelling was done by an American.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.