deroff(1)deroff(1)Namederoff - remove formatting codes from text
Syntaxderoff [-w] file...
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 terminates
execution. If no input file is given, reads from the standard input
Options-w Generates word list (one word per line).
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‐
The -w flag removes every one- or two-character word.
See Alsodiction(1), nroff(1)deroff(1)