3 spell \- print all words in a file not present in the dictionary
18 .EX "spell document" "Print the spelling errors on \fIstdout\fR"
24 It is actually a short shell script.
25 First, the program \fIprep\fR strips off the \fIroff\fR,
26 \fInroff\fR, and \fItroff\fR control lines,
27 and the punctuation, and lists each word on a separate line. These words are
28 then sorted. The resulting output is then compared to the dictionary. Words
29 present in the file but not present in the dictionary are listed. The
30 dictionary must be located in \fI/usr/lib/dict/words\fR.