Re: [Groff] Filtering our control characters

2009-11-23 Thread Anton Shepelev
Thank you, Werner and Ralph. And I was using sed :P

Re: [Groff] Filtering our control characters

2009-11-23 Thread Ralph Corderoy
Hi Anton, Werner wrote: > The right solution, mentioned already on this list, is > > groff -man -Tlatin1 -Pcbu > > to pass flags -c, -b, and -u to `grotty', the tty output driver for > groff, without any need for `col'. There's an extra dash required, see groff(1) for more details. grof

Re: [Groff] Filtering our control characters

2009-11-23 Thread Werner LEMBERG
> > I have read that the easiest way to convert > groff output to text is to filter it using > the col command. > > I tried this: > groff -man -Tlatin1 test.man | col -bx, The right solution, mentioned already on this list, is groff -man -Tlatin1 -Pcbu to pass flags -c, -b, and -u to `grot