bsd man page for deroff

Query: deroff

OS: bsd

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DEROFF(1)						      General Commands Manual							 DEROFF(1)

NAME
deroff - remove nroff, troff, tbl and eqn constructs
SYNOPSIS
deroff [ -w ] file ...
DESCRIPTION
Deroff reads each file in sequence and removes all nroff and troff command lines, backslash constructions, macro definitions, eqn con- structs (between `.EQ' and `.EN' lines or between delimiters), and table descriptions and writes the remainder on the standard output. Deroff follows 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, deroff reads from the standard input file. If the -w flag is given, the output is a word list, one `word' (string of letters, digits, and apostrophes, beginning with a letter; apos- trophes are removed) per line, and all other characters ignored. Otherwise, the output follows the original, with the deletions mentioned above.
SEE ALSO
troff(1), eqn(1), tbl(1)
BUGS
Deroff is not a complete troff interpreter, so it can be confused by subtle constructs. Most errors result in too much rather than too little output. 7th Edition April 29, 1985 DEROFF(1)
Related Man Pages
deroff(1) - plan9
deroff(1) - netbsd
deroff(1) - debian
deroff(1) - suse
deroff(1) - xfree86
Similar Topics in the Unix Linux Community
replace ' with '
Printing all 'case' variations of a word
Add word/value at the beginning of each line in a file