32v 1m deroff

From Computer History Wiki
Jump to: navigation, search

DEROFF(1) UNIX Programmer's Manual DEROFF(1)


    deroff - remove nroff, troff, tbl and eqn constructs


    deroff [ -w ] file ...


    _D_e_r_o_f_f reads each file in sequence and removes all _n_r_o_f_f and
    _t_r_o_f_f command lines, backslash constructions, macro defini-
    tions, _e_q_n constructs (between `.EQ' and `.EN' lines or
    between delimiters), and table descriptions and writes the
    remainder on the standard output.  _D_e_r_o_f_f follows chains of
    included files (`.so' and `.nx' commands); if a file has
    already been included, a `.so' is ignored and a `.nx' ter-
    minates execution.  If no input file is given, _d_e_r_o_f_f 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, begin-
    ning with a letter; apostrophes are removed) per line, and
    all other characters ignored.  Otherwise, the output follows
    the original, with the deletions mentioned above.


    troff(1), eqn(1), tbl(1)


    _D_e_r_o_f_f is not a complete _t_r_o_f_f interpreter, so it can be
    confused by subtle constructs.  Most errors result in too
    much rather than too little output.