version 1.1, 2011/09/01 10:46:28 |
version 1.2, 2011/09/01 20:55:50 |
|
|
.Nd emit only text of UNIX manuals |
.Nd emit only text of UNIX manuals |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm demandoc |
.Nm demandoc |
|
.Op Fl w |
.Op Ar |
.Op Ar |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
.Nm |
.Nm |
utility emits only the text portions of |
utility emits only the text portions of well-formed |
.Xr mdoc 7 |
.Xr mdoc 7 |
and |
and |
.Xr man 7 |
.Xr man 7 |
|
|
manual files. |
manual files. |
Its arguments are as follows: |
Its arguments are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
|
.It Fl w |
|
Output a word list. |
|
This outputs each word of text on its own line. |
|
A |
|
.Qq word |
|
starts with at least two letters and consists of at least three letters |
|
total. |
.It Ar |
.It Ar |
The input files. |
The input files. |
.El |
.El |
|
|
.Nm |
.Nm |
accepts standard input. |
accepts standard input. |
.Pp |
.Pp |
|
By default, |
.Nm |
.Nm |
output preserves the line numbering and column position of its input. |
parses its input and outputs only text nodes, preserving line column |
|
position. |
|
If a document is not well-formed, it is skipped. |
|
.Pp |
|
The |
|
.Fl i , |
|
.Fl k , |
|
.Fl m , |
|
and |
|
.Fl p |
|
flags are silently discarded for calling compatibility with the |
|
historical deroff. |
.Sh EXIT STATUS |
.Sh EXIT STATUS |
The |
The |
.Nm |
.Nm |
Line 66 The output databases are corrupt and should be removed |
|
Line 86 The output databases are corrupt and should be removed |
|
.Xr mandoc 1 , |
.Xr mandoc 1 , |
.Xr man 7 |
.Xr man 7 |
.Xr mdoc 7 |
.Xr mdoc 7 |
|
.Sh HISTORY |
|
.Nm |
|
replaces the historical deroff utility for handling modern |
|
.Xr man 7 |
|
and |
|
.Xr mdoc 7 |
|
documents. |
.Sh AUTHORS |
.Sh AUTHORS |
The |
The |
.Nm |
.Nm |