[99309] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Solution to man page question

daemon@ATHENA.MIT.EDU (filioda@videotron.com)
Fri Nov 13 11:30:28 1998

From: filioda@videotron.com
To: redhat-list@redhat.com
Date: Fri, 13 Nov 1998 11:25:51 -0500
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com




Thank you all for your info and suggestions.  Here is the solution I used:

#! /bin/sh

cd /usr/share/man/man.1

# Create the command list file
ls -l | cut -f1 -d'.' | cut -c55-90 > $HOME/command.lst

cd $HOME

for CMD in `cat command.lst`
do
  man $CMD | col -b > $CMD.txt
done


Again, Thanks for your help!



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post