Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
That doesn't solve the issue I'm facing. We develop a software product and our man pages aren't getting index in Linux the way they are in other OS's; ie you can't do a "man -k foobar" and see the man pages with the foobar product. The command "catman -w" builds windex file in other OS's, ie HP-UX, Solaris, AIX. Linux, as usual, has decided to go a different route and not leave any breadcrumbs behind.
Linux is NOT Unix. Just as not all UNIX variants do things the same way there is no reason to expect Linux to do things the same way. Although most UNIX flavors now do things the SysV way they didn't always - some did it that way and some did it the Berkley way. Even now not all of them have the same flags for every command or put the output of say "ls -l" or "ps -ef" in exactly the same columns.
Linux does leave "breadcrumbs". Typing "man man" would lead you to information about the way it does things including use of /etc/man.config for what you're trying to do and there is a "man man.config" for more details on that file.
Also since there are many Linux distros you might even have to make your program aware of which distro you intend to run it on. They don't all do it the RedHat way or if they do they don't necessarily put the config file in the same place.
How to update man keywords database
Man keywords database allow you to search for man pages using keywords, the database needs to be updated when ever man pages are added or removed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.