plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

spell.1 (1847B)


      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 .MR troff (1)
     35 and its standard preprocessors.
     36 It understands these options:
     37 .TP
     38 .B -b
     39 Check British spelling.
     40 .TP
     41 .B -v
     42 Print all words not literally in the spelling list, with
     43 derivations.
     44 .TP
     45 .B -x
     46 Print, marked with
     47 .LR = ,
     48 every stem as it is looked up in the spelling list,
     49 along with its affix classes.
     50 .PP
     51 As a matter of policy, 
     52 .I spell
     53 does not admit multiple spellings of the same word.
     54 Variants that follow general rules are preferred
     55 over those that don't, even when the unruly spelling is
     56 more common.
     57 Thus, in American usage, `modelled', `sizeable', and `judgment' are
     58 rejected in favor of `modeled', `sizable', and `judgement'.
     59 Agglutinated variants are shunned: `crewmember' and `backyard'
     60 cede to `crew member' and  `back yard' (noun) or `back-yard' 
     61 (adjective).
     62 .SH FILES
     63 .TP
     64 .B \*9/lib/amspell
     65 American spelling list
     66 .TP
     67 .B \*9/lib/brspell
     68 British spelling list
     69 .TP
     70 .B \*9/bin/sprog
     71 The actual spelling checker.
     72 It expects one word per line on standard input,
     73 and takes the same arguments as
     74 .IR spell .
     75 .SH SOURCE
     76 .TF \*9/src/cmd/spell
     77 .TP
     78 .B \*9/bin/spell
     79 the script
     80 .TP
     81 .B \*9/src/cmd/spell
     82 source for
     83 .I sprog
     84 .SH SEE ALSO
     85 .MR deroff (1)
     86 .SH BUGS
     87 The heuristics of
     88 .MR deroff (1)
     89 used to excise formatting information are imperfect.
     90 .PP
     91 The spelling list's coverage is uneven;
     92 in particular biology, medicine, and chemistry, and
     93 perforce proper names,
     94 not to mention languages other than English,
     95 are covered very lightly.