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 terminated. See intro(2) for more Printed 4/6/89 1
DEROFF(1) COMMAND REFERENCE DEROFF(1) 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), and tbl(1). Printed 4/6/89 2
%%index%% na:288,92; sy:380,336; de:716,790; op:1506,804; ex:2310,269; rv:2579,504;3443,51; ca:3494,726; se:4220,181; %%index%%000000000141