version 1.2, 2011/09/01 20:55:50 |
version 1.7, 2013/07/13 19:41:16 |
|
|
.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 |
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. |
|
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. |
|
.Pp |
|
By default, |
|
.Nm |
|
parses its input and outputs only text nodes, preserving line column |
|
position. |
|
If a document is not well-formed, it is skipped. |
If a document is not well-formed, it is skipped. |
.Pp |
.Pp |
The |
The |
Line 82 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 |
|
|
The |
The |
.Nm |
.Nm |
utility was written by |
utility was written by |
.An Kristaps Dzonsons , |
.An Kristaps Dzonsons Aq Mt kristaps@bsd.lv . |
.Mt kristaps@bsd.lv . |
|