gahooten@titan (Gregory A. Hooten) (09/15/89)
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
poole@ut-emx.UUCP (Steve Poole) (09/16/89)
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 tried the following two commands using the -k option of man. They both seem to give all of the short command descriptions. man -k "" man -k "-" -- Steve Poole ARPA: poole@emx.utexas.edu UUCP: {ames,gatech,harvard,rutgers,utah-cs}!cs.utexas.edu!ut-emx!poole
bill@twwells.com (T. William Wells) (09/17/89)
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.
I don't have an answer, but I do have a suggestion: why not ask this
question on comp.unix.questions? You are bound to get an answer.
(Actually more like a dozen and you get to find out which are right.
:-)
---
Bill { uunet | novavax | ankh | sunvice } !twwells!bill
bill@twwells.com
wayne@csri.toronto.edu (Wayne Hayes) (09/18/89)
>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. Easy. "man -k xxx" finds all descriptions of manual entries with "xxx" in them (Keyword search). The trick is to realize that man -k uses a regular expression search. (or at least mine does... on second thought yours might not... in that case search for something that occurs in every description, like a bracket "(" or ")".) A regular expression's "wildcard" is a period (.) so I use "man -k ." -- You know, judge each person on their own merits and faults without prejudice. I know that may sound naive and, you may argue that the world is not really like that, yet, someone must start trusting sometime. -- Andy Philips Wayne Hayes INTERNET: wayne@csri.toronto.edu CompuServe: 72401,3525
strong@tc.fluke.COM (Norm Strong) (09/19/89)
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" & -- Norm (strong@tc.fluke.com)
strong@tc.fluke.COM (Norm Strong) (09/19/89)
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)