The Man, The Catman and the Keyword

From: Sammy (mesammy@gmail.com)
Date: Fri Sep 02 2005 - 05:54:55 EDT


Hi all,
 This is not exactly a mission critical issue - but nevertheless very
annoying. I have a bunch of man pages to add to the system. I added their
location to the MANPATH, so making a man request for a certain command now
works:
>man DFfile
 will print the contents of the DFfile man page
 however I cannot work out how it becomes possible to search for these
commands by keyword. Running catman should build up the windex file with a
table of keywords and manpages. I've tried catman on its own, and also
catman -w, with and without -M /directory option.
 I still cant find the man page when I do
>man -k DFfile
 According to the (yes) man pages, catman builds the keyword db based on
what comes in the Name section of the page, but before the "-" (minus) sign.
This doesn't seem to be the case though:
>man -k ches
 produces amongst others:
 Tcl_StringCaseMatch Tcl_StringMatch (3) - test whether a string matches a
pattern
Tcl_StringCaseMatch Tcl_StringMatch (3) - test whether a string matches a
pattern
Tcl_StringCaseMatch Tcl_StringMatch (3) - test whether a string matches a
pattern
 looking at the relevant man page shows:
 NAME

Tcl_StringMatch, Tcl_StringCaseMatch - test whether a string matches a
pattern

clearly the keyword search has matched to the word "matches" which is after
the "-" sign in the name section.

 What am I missing?

Many thanks in advance,

Sammy
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:31:29 EDT