[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] plain ascii w/o control chars
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] plain ascii w/o control chars |
Date: |
Tue, 12 Mar 2002 14:34:50 +0100 (CET) |
> > I have some manpages containing numerous .B, \fB and \fI
> > directives. How do I generate plain ASCII output, WITHOUT ANY
> > CONTROL CHARACTERS OR ESCAPE SEQUENCES??
>
> Use the -Tascii switch to nroff (or groff), and pipe the output
> through 'col -b' to turn bold and underline formatting into plain
> text.
No need for an external tool. With old groff, try this:
groff -Tlatin1 -P-b -P-u ...
With the current development version, do
groff -Tlatin1 -P-c -P-b -P-u ...
(groff -Tlatin -P-cbu ... will work also).
Werner