version 1.3, 2011/09/01 22:09:50 |
version 1.6, 2011/12/25 19:35:44 |
|
|
.Xr man 7 |
.Xr man 7 |
.Ux |
.Ux |
manual files. |
manual files. |
|
.Pp |
|
By default, |
|
.Nm |
|
parses standard input and outputs only text nodes, preserving line |
|
and column position. |
|
Escape sequences are omitted from the output. |
|
.Pp |
Its arguments are as follows: |
Its arguments are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl w |
.It Fl w |
Line 41 This outputs each word of text on its own line. |
|
Line 48 This outputs each word of text on its own line. |
|
A |
A |
.Qq word , |
.Qq word , |
in this case, refers to whitespace-delimited terms beginning with at |
in this case, refers to whitespace-delimited terms beginning with at |
least two letters after opening punctuation and not consisting of any |
least two letters and not consisting of any escape sequences. |
escape sequences. |
Words 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 |
.Pp |
.Pp |
If |
|
.Ar file |
|
is not provided, |
|
.Nm |
|
accepts standard input. |
|
If a document is not well-formed, it is skipped. |
If a document is not well-formed, it is skipped. |
.Pp |
.Pp |
By default, |
|
.Nm |
|
parses its input and outputs only text nodes, preserving line column |
|
position. |
|
Escape sequences are omitted from the output. |
|
.Pp |
|
The |
The |
.Fl i , |
.Fl i , |
.Fl k , |
.Fl k , |
Line 84 Such errors cause |
|
Line 82 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 |