emit only text of UNIX manuals
utility emits only the text
portions of well-formed
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:
- Output a word list. This outputs each word of text on its own line. A
“word”, in this case, refers to whitespace-delimited terms
beginning with at least two letters and not consisting of any escape
sequences. Words have their leading and trailing punctuation
(double-quotes, sentence punctuation, etc.) stripped.
- file ...
- The input files.
If a document is not well-formed, it is skipped.
flags are silently discarded for
calling compatibility with the historical deroff.
utility exits with one of the
- No errors occurred.
- An operating system error occurred, for example memory exhaustion or an
error accessing input files. Such errors cause
demandoc to 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
spell-checking manuals on BSD
. This is accomplished as
follows (assuming British spelling):
$ demandoc -w file.1 | spell
replaces the historical deroff
utility for handling modern
utility was written by