Man Linux: Main Page and Category List

NAME

       deroff - remove roff and preprocessor constructs

SYNOPSIS

       deroff [-w] {file(s)}

DESCRIPTION

       deroff reads in the named files (or stdin if none are given) and strips
       out troff constructs and macros. The preprocessor (eqn, tbl, pic, grap,
       and  vgrind)  sections  are  removed  entirely.   The resulting output,
       suitable for spelling, is sent to stdout.

OPTIONS

       -w     output a word-by-word list, delimited by newlines.

SEE ALSO

       troff(1), eqn(1), pic(1), grap(1), vgrind(1).

BUGS

       deroff is not a full troff(1) interpreter;  in  particular  it  doesn’t
       know how to expand macros and how to treat m[mse]’s registers.
       Macros are assumed to end with ..  and are simply skipped.
       deroff  can  be  fooled  with  circular  .nx requests.  The .so request
       deepness is limited.

AUTHOR

       David Frey <david@eos.lugs.ch>