1DEROFF(1)                   General Commands Manual                  DEROFF(1)
2
3
4

NAME

6       deroff - remove nroff, troff, tbl and eqn constructs
7

SYNOPSIS

9       deroff [ -w ] file ...
10

DESCRIPTION

12       Deroff reads each file in sequence and removes all nroff and troff com‐
13       mand lines, backslash constructions, macro definitions, eqn  constructs
14       (between  `.EQ'  and  `.EN'  lines  or  between  delimiters), and table
15       descriptions and writes the remainder on the standard  output.   Deroff
16       follows  chains of included files (`.so' and `.nx' commands); if a file
17       has already been included, a `.so' is ignored and  a  `.nx'  terminates
18       execution.   If  no input file is given, deroff reads from the standard
19       input file.
20
21       If the -w flag is given, the output is a word list, one `word'  (string
22       of  letters, digits, and apostrophes, beginning with a letter; apostro‐
23       phes are removed) per line, and all other characters  ignored.   Other‐
24       wise,  the  output  follows  the original, with the deletions mentioned
25       above.
26

SEE ALSO

28       troff(1), eqn(1), tbl(1)
29

BUGS

31       Deroff is not a complete troff interpreter, so it can  be  confused  by
32       subtle constructs.  Most errors result in too much rather than too lit‐
33       tle output.
34
35
36
377th Edition                     April 29, 1985                       DEROFF(1)
Impressum