Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ deroff(1) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

neqn(1)

nroff(1)

tbl(1)



DEROFF(1)               COMMAND REFERENCE               DEROFF(1)



NAME
     deroff - remove nroff and tbl constructs

SYNOPSIS
     deroff [ -w ] [ -mm ] [ -ms ] [ -ml ] [ filename ] ...

DESCRIPTION
     Deroff reads each file in sequence and removes all nroff
     command lines, backslash constructions, macro definitions,
     neqn constructs, and table descriptions.  The remaining text
     is then written on standard output.

     Deroff will follow chains of included files (`.so' and `.nx'
     commands).

     If no input file is given, deroff reads from the standard
     input file.

OPTIONS
     -ml Will remove lists (implies -mm ).

     -mm Causes mm macros to be interpreted so that just
         sentences are output.

     -ms Causes ms macros to be interpreted so that just
         sentences are output.

     -w  The output is 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 output follows the
         original, with the deletions mentioned above.

EXAMPLES
     The use of the following command will remove ms macros from
     the file report, and print the results on standard output:



          deroff -ms report


RETURN VALUE
     [NO_ERRS]      Command completed without error.

     [USAGE]        Incorrect command line syntax. Execution
                    terminated.

     [NP_ERR]       An error occurred that was not a system
                    error.  Execution terminated.

     [P_ERR]        A system error occurred. Execution



Printed 10/17/86                                                1





DEROFF(1)               COMMAND REFERENCE               DEROFF(1)



                    terminated.  See intro(2) for more
                    information on system errors.

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

     The -ml option applies to list macros in the mm macro
     package. Therefore, if this option is given, the -mm option
     is also turned on.

     Though multiple -m options may be given, the last one given
     is the one that sets the macro package being used.

SEE ALSO
     neqn(1), nroff(1), tbl(1).






































Printed 10/17/86                                                2





































































%%index%%
na:72,76;
sy:148,236;
de:384,638;
op:1022,684;
ex:1706,231;
rv:1937,393;2474,118;
ca:2592,614;
se:3206,148;
%%index%%000000000141

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026