DEMANDOC(1) | General Commands Manual | DEMANDOC(1) |
demandoc - emit only text of UNIX manuals
demandoc [-w] [file ...]
The demandoc utility emits only the text portions of well-formed mdoc(7) and man(7) UNIX manual files.
By default, 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.
The -i, -k, -m, and -p flags are silently discarded for calling compatibility with the historical deroff.
The demandoc utility exits with one of the following values:
The traditional usage of demandoc is for spell-checking manuals on BSD. This is accomplished as follows (assuming British spelling):
demandoc replaces the historical deroff utility for handling modern man(7) and mdoc(7) documents.
The demandoc utility was written by Kristaps Dzonsons <kristaps@bsd.lv>.
September 12, 2014 | Debian |