deroff - strip troff, eqn and tbl sequences from text
deroff [ -w ] [ file ] ...
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.
troff, eqn, tbl
deroff is a simpleton and does not attempt to interpret troff constructs.
To install PerlPowerTools, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.