[Wolves] Linux man pages

John Kennedy skebi69 at gmail.com
Thu Nov 15 10:07:06 GMT 2007


Chris,
The command to convert a man page to text format is:
man <command> | col -b > <command>-man.txt
I would suggest something like:

for i in `find /usr/share/man/man1 -name \*.gz
do
BASE=`basename $i .1.gz`
man $BASE | col -b > $BASE
done

or something similar.
John

On Thursday 15 November 2007 10:03:12 Chris Maggs wrote:
> "Chris Maggs" <chrismaggs at gmail.com>



-- 
The opinions expressed in this e-mail are mine alone and are not endorsed by 
(or agreed by) my employer, who ever that may be at the time...



More information about the Wolves mailing list