glenda.party
term% ls -F
term% cat index.txt
DEROFF(1)                   General Commands Manual                  DEROFF(1)



NAME
       deroff - remove formatting requests

SYNOPSIS
       deroff [ option ... ] file ...

DESCRIPTION
       Deroff reads each file in sequence and removes all nroff and troff com‐
       mand lines, backslash constructions, macro definitions, eqn  constructs
       (between  `.EQ'  and  `.EN' lines or between delimiters), tbl table de‐
       scriptions, pic constructs, and refer references.   Remaining  text  is
       written  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.

       The options are

       -w     Output a word list, one `word' (string of letters,  digits,  and
              apostrophes,  beginning  with a letter; apostrophes are removed)
              per line, and all other characters ignored.  Otherwise, the out‐
              put follows the original, with the deletions mentioned above.

       -i     Ignore `.so' and `.nx' requests.

       -ms, -mm
              Follow the conventions of ms(7) or mm macros.

       -ml    Follow the conventions of mm and suppress lists.

SEE ALSO
       troff(1), eqn(1), tbl(1), pic(1), refer(1)

BUGS
       Deroff  is  not  a  complete troff interpreter; it can be confused.  In
       particular, troff macro definitions containing `\$'  cause  chaos  when
       the popular `$$' delimiters for eqn are in effect.



                                                                     DEROFF(1)