spell(1)
NAME
spell − find spelling errors
SYNOPSIS
spell [ −bvx ] [ +local_file ] [ filename]...
AVAILABILITY
SUNWesu
DESCRIPTION
spell collects words from the named filenames and looks them up in a spelling list. Words that neither occur among nor are derivable (by applying certain inflections, prefixes, and/or suffixes) from words in the spelling list are printed on the standard output. If no filenames are named, words are collected from the standard input. Copies of all output are accumulated in the spellhist file.
OPTIONS
−b British spelling is checked. Besides preferring "centre," "colour," "programme," "speciality," "travelled," and so forth, this option insists upon −ise in words like "standardise."
−v All words not literally in the spelling list are printed, and plausible derivations from the words in the spelling list are indicated.
−x Every plausible stem is displayed, one per line, with = preceding each word.
+local_file local_file is the name of a user-provided file that contains a sorted list of words, one per line. With this option, the user can specify a set of words that are correct spellings (in addition to spell’s own spelling list) for each job. Words found in local_file are removed from spell’s output. Use sort(1) to order local_file in ASCII collating sequence. If this ordering is not followed, some entries in local_file may be ignored.
FILES
D_SPELL=/usr/lib/spell/hlist[ab] hashed spelling lists, American & British
S_SPELL=/usr/lib/spell/hstop hashed stop list
H_SPELL=/var/adm/spellhist history file
/usr/share/lib/dict/words master dictionary
SEE ALSO
NOTES
Because copies of all output are accumulated in the spellhist file, spellhist may grow quite large and require purging.
SunOS 5.4 — Last change: 11 April 1994