deroff(1) General Commands Manual deroff(1)
Name
deroff - remove formatting codes from text
Syntax
deroff [-w] file...
Description
The command reads each file in sequence and removes all and command lines, backslash constructions, macro definitions, constructs (between
.EQ and .EN lines or between delimiters), and table descriptions and writes the remainder on the standard output. The command follows
chains of included files (.so and .nx commands); if a file has already been included, the .so command is ignored and an .nx command termi-
nates execution. If no input file is given, reads from the standard input file.
Options
-w Generates word list (one word per line).
Restrictions
The command is not a complete interpreter, so it can be confused by subtle constructs. Most errors result in too much rather than too lit-
tle output.
The -w flag removes every one- or two-character word.
See Also
diction(1), nroff(1)
deroff(1)