|
|
1.1 root 1: .TH SPELL 1
2: .SH NAME
3: spell, sprog \- find spelling errors
4: .SH SYNOPSIS
5: .B spell
6: [
7: .I options
8: ]
9: \&...
10: [
11: .I file
12: ]
13: \&...
14: .PP
15: .B sprog
16: [
17: .I options
18: ]
19: [
20: .B -f
21: .I file
22: ]
23: .SH DESCRIPTION
24: .I Spell
25: looks up words from the named
26: .I files
27: (standard input default)
28: in a spelling list and places
29: possible misspellings\(emwords
30: not sanctioned there\(emon the standard output.
31: .PP
32: .I Spell
33: ignores constructs of
34: .IR troff (1)
35: and its standard preprocessors.
36: It understands these options:
37: .TP
38: .B -a
39: Label each line of output with its
40: address in the input, in the notation of
41: .IR acme (1)
42: and
43: .IR sam (1).
44: .TP
45: .B -b
46: Check British spelling.
47: .TP
48: .B -v
49: Print all words not literally in the spelling list, with
50: derivations.
51: .TP
52: .B -x
53: Print, marked with
54: .LR = ,
55: every stem as it is looked up in the spelling list,
56: along with its affix classes.
57: .PP
58: As a matter of policy,
59: .I spell
60: does not admit multiple spellings of the same word.
61: Variants that follow general rules are preferred
62: over those that don't, even when the unruly spelling is
63: more common.
64: Thus, in American usage, `modelled', `sizeable', and `judgment' are
65: rejected in favor of `modeled', `sizable', and `judgement'.
66: Agglutinated variants are shunned: `crewmember' and `backyard'
67: cede to `crew member' and `back yard' (noun) or `back-yard'
68: (adjective).
69: .SH FILES
70: .TF /sys/lib/brspell
71: .TP
72: .B /sys/lib/amspell
73: American spelling list
74: .TP
75: .B /sys/lib/brspell
76: British spelling list
77: .TP
78: .B /bin/aux/sprog
79: The actual spelling checker.
80: It expects one word per line on standard input,
81: and takes the same arguments as
82: .IR spell .
83: .SH SOURCE
84: .TF /sys/src/cmd/spell
85: .TP
86: .B /rc/bin/spell
87: the script
88: .TP
89: .B /sys/src/cmd/spell
90: source for
91: .I sprog
92: .SH SEE ALSO
93: .IR deroff (1)
94: .SH BUGS
95: The heuristics of
96: .IR deroff (1)
97: used to excise formatting information are imperfect.
98: .br
99: The spelling list's coverage is uneven;
100: in particular biology, medicine, and chemistry, and
101: perforce proper names,
102: not to mention languages other than English,
103: are covered very lightly.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.