version 1.2, 2011/09/01 20:55:50 |
version 1.4, 2011/09/01 22:25:53 |
Line 39 Its arguments are as follows: |
|
Line 39 Its arguments are as follows: |
|
Output a word list. |
Output a word list. |
This outputs each word of text on its own line. |
This outputs each word of text on its own line. |
A |
A |
.Qq word |
.Qq word , |
starts with at least two letters and consists of at least three letters |
in this case, refers to whitespace-delimited terms beginning with at |
total. |
least two letters and not consisting of any escape sequences. |
|
Terms have their leading and trailing punctuation |
|
.Pq double-quotes, sentence punctuation, etc. |
|
stripped. |
.It Ar |
.It Ar |
The input files. |
The input files. |
.El |
.El |
|
|
is not provided, |
is not provided, |
.Nm |
.Nm |
accepts standard input. |
accepts standard input. |
|
If a document is not well-formed, it is skipped. |
.Pp |
.Pp |
By default, |
By default, |
.Nm |
.Nm |
parses its input and outputs only text nodes, preserving line column |
parses its input and outputs only text nodes, preserving line column |
position. |
position. |
If a document is not well-formed, it is skipped. |
Escape sequences are omitted from the output. |
.Pp |
.Pp |
The |
The |
.Fl i , |
.Fl i , |
Line 82 Such errors cause |
|
Line 86 Such errors cause |
|
to exit at once, possibly in the middle of parsing or formatting a file. |
to exit at once, possibly in the middle of parsing or formatting a file. |
The output databases are corrupt and should be removed . |
The output databases are corrupt and should be removed . |
.El |
.El |
|
.Sh EXAMPLES |
|
The traditional usage of |
|
.Nm |
|
is for spell-checking manuals on |
|
.Bx . |
|
This is accomplished as follows (assuming British spelling): |
|
.Pp |
|
.Dl $ demandoc -w file.1 | spell -b |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr mandoc 1 , |
.Xr mandoc 1 , |
.Xr man 7 |
.Xr man 7 |