1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
head 1.1;
access;
symbols;
locks; strict;
comment @# @;
1.1
date 96.12.27.23.21.22; author david; state Rel;
branches;
next ;
desc
@Deroff is a deroffer; it removes roff and preprocessor constructs and
follows .nx and .so requests.
@
1.1
log
@Initial revision
@
text
@.\" $Id$
.TH DEROFF 1 "December 23, 1996" "Debian" "User's Reference Manual" \" -*- nroff -*-
.SH NAME
deroff \- remove roff and preprocessor constructs
.SH SYNOPSIS
.B deroff
[-w]
.RI { file(s) }
.PP
.SH DESCRIPTION
.B deroff
reads in the named files (or stdin if none are given) and strips out
.B troff
constructs and macros. The preprocessor
.RB ( eqn ", " tbl ", " pic ", " grap ", and "vgrind )
sections are removed entirely.
The resulting output, suitable for spelling, is sent to stdout.
.PP
.SH OPTIONS
.TP
.I \-w
output a word-by-word list, delimited by newlines.
.PP
.SH SEE ALSO
.BR troff (1),
.BR eqn (1),
.BR pic (1),
.BR grap (1) ,
.BR vgrind (1) .
.PP
.SH BUGS
.B deroff
is not a full
.BR troff (1)
interpreter; in particular it doesn't know how to expand macros and how to
treat
.IR m[mse] "'s"
registers.
.br
Macros are assumed to end with
.I ..
and are simply skipped.
.br
.B deroff
can be fooled with circular
.IR ".nx " requests.
The
.IR ".so " request
deepness is limited.
.PP
.SH AUTHOR
David Frey <david@@eos.lugs.ch>
@
|