Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ deroff(1) — bsd — mips UMIPS RISC/os 4.52

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

troff(1)

eqn(1)

tbl(1)



DEROFF(1-BSD)       RISC/os Reference Manual        DEROFF(1-BSD)



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

SYNOPSIS
     deroff [ -w ] file ...

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' ter-
     minates execution.  If no input file is given, deroff 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.

SEE ALSO
     troff(1), eqn(1), tbl(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.

























                         Printed 1/15/91                   Page 1



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