|
|
1.1 root 1: .\" @(#)deroff.1 6.1 (Berkeley) 4/29/85
2: .\"
3: .TH DEROFF 1 "April 29, 1985"
4: .AT 3
5: .SH NAME
6: deroff \- remove nroff, troff, tbl and eqn constructs
7: .SH SYNOPSIS
8: .B deroff
9: [
10: .B \-w
11: ]
12: file ...
13: .SH DESCRIPTION
14: .I Deroff
15: reads each file in sequence and removes all
16: .I nroff
17: and
18: .I troff
19: command lines, backslash constructions, macro definitions,
20: .I eqn
21: constructs (between `.EQ' and `.EN' lines or between delimiters),
22: and table descriptions and writes the remainder on the standard output.
23: .I Deroff
24: follows chains of included files (`.so' and `.nx' commands);
25: if a file has already been included, a `.so' is ignored and a `.nx'
26: terminates execution. If no input file is given,
27: .I deroff
28: reads from the standard input file.
29: .PP
30: If the
31: .B \-w
32: flag is given, the output is a word list, one `word' (string of letters,
33: digits, and apostrophes, beginning with a letter; apostrophes are removed)
34: per line, and all other characters ignored.
35: Otherwise, the output follows the original, with the deletions mentioned above.
36: .SH "SEE ALSO"
37: troff(1), eqn(1), tbl(1)
38: .SH BUGS
39: .I Deroff
40: is not a complete
41: .I troff
42: interpreter, so it can be confused by subtle constructs.
43: 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.