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