apropos works great for searching manual page names and descriptions. Is there a similar command for searching the entire contents of the manual pages?
|
|
By using the command man man we can see that we have two options.
This is on a RHEL 5 system |
|||
|
|
|
This is probably late. But I just completed my Google Summer of Code project for NetBSD and my task was exactly this. Implementing full text search for man pages. The code is here: https://github.com/abhinav-upadhyay/apropos_replacement Although at the moment this is for only *BSD (NetBSD to be precise but should work with other BSDs with some small adjustments) systems due to some assumptions made while writing the code and I don't have a Linux machine around me to fix or port this for working on Linux. You can look it in action in this blog post Shameless Plug: I am also working in implementing a spell corrector to this apropos and hopefully we will set up a CGI version on http://netbsd.org as well. |
||||
|
|
|
two options for you. first, you can try this script:
save it as secondly, and especially if you're using Ubuntu, you can use http://manpages.ubuntu.com/ - there are a number of full-text search options available. |
|||
|
|