I'd like to search for man pages which contain ALL of the words 'foo', 'bar' and 'baz'.
If possible, I'd like to search through all text (not just name & description) of all man pages.
I'm guessing something like
man -K foo AND bar AND baz
I implemented a script that does exactly this.
Guess it was a waste of time :(
Edit: Seems like
Edit: You can pass the scripts now your search terms via
Not as complete as @polym's answer, but I was going to suggest something like
Note that I added a
A few thoughts on scripting this:
Here goes (with