|
|
1.1 ! root 1: .\" Copyright (c) 1990 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)deroff.1 6.4 (Berkeley) 7/24/90 ! 6: .\" ! 7: .Dd July 24, 1990 ! 8: .Dt DEROFF 1 ! 9: .Os ATT 7th ! 10: .Sh NAME ! 11: .Nm deroff ! 12: .Nd remove nroff, troff, tbl and eqn constructs ! 13: .Sh SYNOPSIS ! 14: .Nm deroff ! 15: .Op Fl w ! 16: .Ar file \&... ! 17: .Sh DESCRIPTION ! 18: .Nm Deroff ! 19: reads each file in sequence and removes all ! 20: .Xr nroff 1 ! 21: and ! 22: .Xr troff 1 ! 23: command lines, backslash constructions, macro definitions, ! 24: .Xr eqn 1 ! 25: constructs (between `.EQ' and `.EN' lines or between delimiters), ! 26: and table descriptions and writes the remainder on the standard output. ! 27: .Nm Deroff ! 28: follows chains of included files (`.so' and `.nx' commands); ! 29: if a file has already been included, a `.so' is ignored and a `.nx' ! 30: terminates execution. If no input file is given, ! 31: .Nm deroff ! 32: reads from the standard input file. ! 33: .Pp ! 34: If the ! 35: .Fl w ! 36: flag is given, the output is a word list, one `word' (string of letters, ! 37: digits, and apostrophes, beginning with a letter; apostrophes are removed) ! 38: per line, and all other characters ignored. ! 39: Otherwise, the output follows the original, with the deletions mentioned above. ! 40: .Sh SEE ALSO ! 41: .Xr troff 1 , ! 42: .Xr eqn 1 , ! 43: .Xr tbl 1 ! 44: .Sh HISTORY ! 45: .Nm Deroff ! 46: appeared in Version 7 AT&T Unix. ! 47: .Sh BUGS ! 48: .Nm Deroff ! 49: is not a complete ! 50: .Xr troff 1 ! 51: interpreter, so it can be confused by subtle constructs. ! 52: Most errors result in too much rather than too little output.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.