BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / deroff.0
DEROFF(1) UNIX Programmer's Manual DEROFF(1)
N\bNA\bAM\bME\bE
deroff - remove nroff, troff, tbl and eqn constructs
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
d\bde\ber\bro\bof\bff\bf [ -\b-w\bw ] file ...
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bD_\be_\br_\bo_\bf_\bf reads each file in sequence and removes all _\bn_\br_\bo_\bf_\bf and
_\bt_\br_\bo_\bf_\bf command lines, backslash constructions, macro defini-
tions, _\be_\bq_\bn constructs (between `.EQ' and `.EN' lines or
between delimiters), and table descriptions and writes the
remainder on the standard output. _\bD_\be_\br_\bo_\bf_\bf follows chains of
included files (`.so' and `.nx' commands); if a file has
already been included, a `.so' is ignored and a `.nx' ter-
minates execution. If no input file is given, _\bd_\be_\br_\bo_\bf_\bf reads
from the standard input file.
If the -\b-w\bw flag is given, the output is a word list, one
`word' (string of letters, digits, and apostrophes, begin-
ning with a letter; apostrophes are removed) per line, and
all other characters ignored. Otherwise, the output follows
the original, with the deletions mentioned above.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
troff(1), eqn(1), tbl(1)
B\bBU\bUG\bGS\bS
_\bD_\be_\br_\bo_\bf_\bf is not a complete _\bt_\br_\bo_\bf_\bf interpreter, so it can be
confused by subtle constructs. Most errors result in too
much rather than too little output.
Printed 7/9/88 April 29, 1985 1