Searching ManPages with code

All,

Hey looking for some code that will let me automate searching the Linux and Ubuntu Man Pages for specific applications.

Anyone know of code or a way to do this?

OMR

All,

I found a “dman” script on the Ubuntu help pages, that uses the “wget” command, but since I need this to work for all OSs, I need to stay away from specific Linux shell commands.

I was looking around and think the:

$lines = file(URL)

might work? Just not sure, since I need to let the search do a wildcard search to find the right manpage.

Would appreciate some direction here, never tried URL interrogation before.

Thanks!

OMR