[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] replacement for col
From: |
Denis M. Wilson |
Subject: |
Re: [Groff] replacement for col |
Date: |
Tue, 24 Jul 2012 17:16:43 +0100 |
Hello all
On Tue, 24 Jul 2012 16:50:09 +0200
walter harms <address@hidden> wrote:
> hi list,
> i run into a problem that may be solved by others already.
>
> I show a groff file as latin1, that worked fine. i had some ^H but
> that where filtered by "tr" no problem. But i added some boldface to
> the text and i got something like that N^HNi^Hic^Hch^Hht^Ht. No real
> surprise i know that "col" could handle that. Unfortunately the
> current version (util-linux-2.21.2) stumble over some umlauts in the
> text (older version also).
>
> Does someone have an sed statement that replaces col ?
> Is there an easy way to tell groff to avoid N^HN for bold ?
Pass on options to grotty; the following removes all backspaces:
groff -ww -Tlatin1 -P-c -P-b -P-o -P-u
'col' is not needed for groff (was for old pre-groff nroff).
Denis
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments