|DEROFF(1)||General Commands Manual||DEROFF(1)|
deroffreads each file in sequence and removes all roff command lines, backslash constructions, macro definitions, eqn constructs (between “.EQ” and “.EN” lines or between delimiters), pic pictures, and table descriptions and writes the remainder to the standard output.
derofffollows chains of included files (“.so” and “.nx” commands); if a file has already been included, a “.so” is ignored and a “.nx” terminates execution. If no input file is given,
deroffreads from the standard input. The options are as follows:
-moption is given.
-moption takes the following arguments:
-moption is also specified.
derofffirst appeared in Version 7 AT&T UNIX and has been available since OpenBSD 3.1.
deroffis not a complete troff interpreter, so it can be confused by subtle constructs. Most errors result in too much rather than too little output. The
-mloption does not correctly handle nested lists.
|October 17, 2017||OpenBSD-current|