|
|
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 (words ! 22: that occur in neither and are not plausibly derivable ! 23: from the former) are placed on the standard output. ! 24: .PP ! 25: .I Spell ! 26: ignores constructs of ! 27: .IR troff (1) ! 28: and its standard preprocessors, ! 29: or 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 on standard error, marked with ! 42: .LR = , ! 43: every stem as it is looked up in the spelling list, ! 44: along with its affix classes. ! 45: Typically used for maintenance. ! 46: .TP ! 47: .B -c ! 48: .br ! 49: .ns ! 50: .TP ! 51: .B -C ! 52: Input is one word per line. ! 53: Output is a single byte per word, delivered immediately: ! 54: .L - ! 55: if the word is rejected, ! 56: .L + ! 57: if the word is accepted under ! 58: .BR -c , ! 59: and a digit if the word is accepted under ! 60: .BR -C . ! 61: Digit zero indicates a word known directly; larger ! 62: numbers indicate words derived by increasingly ! 63: elaborate paths. ! 64: Typically used by other programs piping queries to spell. ! 65: .PP ! 66: The private list, by default ! 67: .FR $HOME/lib/spelldict , ! 68: is arranged one word per line. ! 69: .PP ! 70: Pertinent files may be specified by ! 71: environment variables, listed below with their default settings. ! 72: To help in gathering local vocabularies, copies of all output ! 73: are accumulated in the history file, if it exists and is writable. ! 74: .PP ! 75: As a matter of policy, ! 76: .I spell ! 77: does not admit multiple spellings of the same word. ! 78: Variants that follow general rules are preferred over ! 79: over those that don't, even when the unruly spelling is ! 80: more common. ! 81: Thus, in American usage, `modeled', `sizable', and `judgement' are ! 82: preferred to `modelled', `sizeable', and `judgment'. ! 83: Agglutinated variants are shunned: `crew member' and `back yard' ! 84: (noun) or `back-yard' (adjective) are preferred to ! 85: `crewmember' and `backyard'. ! 86: .SH FILES ! 87: .TF /usr/lib/spell/spellhist ! 88: .TP ! 89: .F /usr/lib/spell/amspell ! 90: spelling list, compressed ! 91: .RB ( D_SPELL ) ! 92: .TP ! 93: .F /usr/lib/spell/brspell ! 94: British spelling list ! 95: .TP ! 96: .F /usr/lib/spell/spellhist ! 97: history file ! 98: .RB ( H_SPELL ) ! 99: .TP ! 100: .F $HOME/lib/spelldict ! 101: private list ! 102: .RB ( A_SPELL ) ! 103: .TP ! 104: .F /usr/lib/spell/sprog ! 105: the main routine ! 106: .RB ( P_SPELL ) ! 107: .TP ! 108: .BR deroff " (or " delatex ) ! 109: (or ! 110: .FR delatex ) ! 111: for removing punctuation and ! 112: .IR troff (1) ! 113: constructs ! 114: .RB ( DEROFF ) ! 115: .SH SEE ALSO ! 116: .IR dict (7), ! 117: .IR deroff (1), ! 118: .IR wwb (1) ! 119: .SH BUGS ! 120: Words in a private list are recognized only by ! 121: exact match, including capitalization and affixing. ! 122: .br ! 123: The heuristics of ! 124: .IR deroff (1) ! 125: and ! 126: .IR delatex , ! 127: used to excise formatting information, are imperfect. ! 128: .br ! 129: The spelling list's coverage is uneven; ! 130: in particular biology, medicine, and chemistry, and ! 131: perforce proper names, ! 132: are covered very lightly. ! 133: .br ! 134: 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.