The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

deroff - strip troff, eqn and tbl sequences from text

SYNOPSIS

 deroff [ -w ] [ file ] ...

DESCRIPTION

deroff reads the given files (or standard input) and strips all troff control lines, comments, and escape sequences. Additionally, all constructs for eqn (equation macros) and tbl (table macros) are deleted. The troff `.so' and `.nx' commands are followed to include other files (only once for each file.)

The -w flag causes deroff to print only words, one per line. Words are considered to start with a letter and contain letters, digits or apostrophes (but no trailing apostrophe.) Single character words are ignored.

SEE ALSO

troff, eqn, tbl

BUGS

deroff is a simpleton and does not attempt to interpret troff constructs.