|DEMANDOC(1)||General Commands Manual||DEMANDOC(1)|
demandoc — emit
only text of UNIX manuals
demandoc parses standard input
and outputs only text nodes, preserving line and column position. Escape
sequences are omitted from the output.
Its arguments are as follows:
If a document is not well-formed, it is skipped.
-p flags are
silently discarded for calling compatibility with the historical deroff.
demandoc utility exits with one of the
demandocto exit at once, possibly in the middle of parsing or formatting a file. The output databases are corrupt and should be removed .
The traditional usage of
demandoc is for
spell-checking manuals on BSD. This is accomplished
as follows (assuming British spelling):
$ demandoc -w file.1 | spell -b
demandoc utility was written by
|September 12, 2014||OpenBSD 6.7|