Am 24.07.2012 18:16, schrieb Denis M. Wilson: > Hello all > > On Tue, 24 Jul 2012 16:50:09 +0200 > walter harms <wha...@bfs.de> 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 >
Works fine for me. A nice extension for grotty would be a switch for pure/plain that disables all bold, underlines etc. re, wh