


DEROFF(1)                USER COMMANDS                  DEROFF(1)



NAME
     deroff - remove nroff, troff, tbl and eqn constructs

SYNOPSIS
     deroff [ -w ] _f_i_l_e_n_a_m_e ...

AVAILABILITY
     This command is available with the _T_e_x_t  software  installa-
     tion  option.  Refer to _I_n_s_t_a_l_l_i_n_g _S_u_n_O_S _4._1 for information
     on how to install optional software.

DESCRIPTION
     deroff reads each file in sequence and removes all nroff and
     troff  command lines, backslash constructions, macro defini-
     tions, eqn constructs (between .EQ and .EN lines or  between
     delimiters), and table descriptions and writes the remainder
     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.

OPTIONS
     -w   Generate a word list, one word per line. A `word' is  a
          string  of  letters, digits, and apostrophes, beginning
          with a letter;  apostrophes  are  removed.   All  other
          characters are ignored.

SEE ALSO
     eqn(1), nroff(1), tbl(1), troff(1)

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

     deroff does not work well with files that use .so to  source
     in the standard macro package files.

















Sun Release 4.1   Last change: 21 December 1987                 1



