[Wolves] Linux man pages
Stuart Langridge
sil at kryogenix.org
Thu Nov 15 11:25:16 GMT 2007
On 11/15/07, chris procter <chris-procter at talk21.com> wrote:
> cmd=(grep ls ps pwd umount)
>
> echo "Creating text files. This may take a while!"
>
> for (( i = 0; i <= ${#cmd} ; i++ ))
>
> do
>
> echo "creating ${cmd[$i]}.txt"
>
> man ${cmd[$i]} > ${cmd[$i]}.txt
>
> done
>
> echo -e "Woohoo! Finished :)"
Just in case I'm missing something here...
What's wrong with
for f in grep ls ps pwd mount; do man $f > $f.txt; done
sil
--
New Year's Day --
everything is in blossom!
I feel about average.
-- Kobayashi Issa
More information about the Wolves
mailing list