minix/minix/man/man1/spell.1
Lionel Sambuc 433d6423c3 New sources layout
Change-Id: Ic716f336b7071063997cf5b4dae6d50e0b4631e9
2014-07-31 16:00:30 +02:00

36 lines
817 B
Groff

.TH SPELL 1
.SH NAME
spell \- print all words in a file not present in the dictionary
.SH SYNOPSIS
\fBspell \fIfile\fR
.br
.de FL
.TP
\\fB\\$1\\fR
\\$2
..
.de EX
.TP 20
\\fB\\$1\\fR
# \\$2
..
.SH EXAMPLES
.TP 20
.B spell document
# Print the spelling errors on \fIstdout\fR
.SH DESCRIPTION
.PP
\fISpell\fR is the
\s-1MINIX 3\s-1
spelling checker.
It is actually a short shell script.
First, the program \fIprep\fR strips off the \fIroff\fR,
\fInroff\fR, and \fItroff\fR control lines,
and the punctuation, and lists each word on a separate line. These words are
then sorted. The resulting output is then compared to the dictionary. Words
present in the file but not present in the dictionary are listed. The
dictionary must be located in \fI/usr/lib/dict/words\fR.
.SH "SEE ALSO"
.BR nroff (1),
.BR prep (1).