1 |
On 2009-03-25, Grant Edwards <grante@××××.com> wrote: |
2 |
|
3 |
> How do you get a plain ascii file (no backspacing, no escape |
4 |
> sequences) out of "man"? |
5 |
|
6 |
I know I can always drop down 2 levels and do somthing like this: |
7 |
|
8 |
bzcat /usr/share/man/bash.1.bz2 | troff -Tascii -mandoc | grotty -bcu >man.txt |
9 |
|
10 |
But, I'm surprised that there's no "higher level" method like |
11 |
the trusty old command that worked for at least 20 years: |
12 |
|
13 |
man bash | col -b >man.txt |
14 |
|
15 |
-- |
16 |
Grant Edwards grante Yow! A can of ASPARAGUS, |
17 |
at 73 pigeons, some LIVE ammo, |
18 |
visi.com and a FROZEN DAQUIRI!! |