Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!rpi!batcomputer!cornell!uw-beaver!fluke!strong From: strong@tc.fluke.COM (Norm Strong) Newsgroups: news.newusers.questions Subject: Re: How to get all descriptor lines from man? Message-ID: <11203@fluke.COM> Date: 19 Sep 89 16:04:46 GMT References: <31933@ames.arc.nasa.gov> <11202@fluke.COM> Sender: news@tc.fluke.COM Distribution: usa Organization: John Fluke Mfg. Co., Inc., Everett, WA Lines: 31 In article <11202@fluke.COM> strong@tc.fluke.COM (Norm Strong) writes: }In article <31933@ames.arc.nasa.gov> gahooten@titan (Gregory A. Hooten) writes: }} }}I was trying to find a way to get all of the descriptor lines from the man }}pages in Unixa BSD 4.3. I know there is a function that allows the }}descriptor line from a chosen subject, but I want all subjects. I had a feeling }}that if I could get it to search for all vowels in the subject lines, then }}it would have to find all man entries, but have not found how to do this. }} }}Any help would be great. }} }}Greg Hooten }}GAHOOTEN@ames.arc.nasa.gov } }Here's the one line command I use to do precisely that: } }cat /usr/man/whatis | fold -132 | lpr -i2 -J "unix programs" & Addendum: That command prints the list on a 132 column lineprinter. If you just want to look at it on an 80 column display, change to this: cat /usr/man/whatis | fold -80 > UnixPrograms -- Norm (strong@tc.fluke.com)