With the IBM z/OS supplied man pages it is easy to find the command you want by using the command:
man -k xxxxx
This will NOT find any of the conda installed man pages even if the MANPATH has been updated correctly.
Note: I can do a 'man gunzip' to read the specific man page which indicates the MANPATH is correct but 'man -k gunzip' finds nothing.
The -k explanation is:
Searches a precomputed database of syntax lines for information about keywords.
Is there a way to update, or rebuild, the man precomputed database?
------------------------------
LionelDyck <><
https://github.com/zigi
https://github.com/lbdyck
------------------------------
Page 1 / 1
With the IBM z/OS supplied man pages it is easy to find the command you want by using the command:
man -k xxxxx
This will NOT find any of the conda installed man pages even if the MANPATH has been updated correctly.
Note: I can do a 'man gunzip' to read the specific man page which indicates the MANPATH is correct but 'man -k gunzip' finds nothing.
The -k explanation is:
Searches a precomputed database of syntax lines for information about keywords.
Is there a way to update, or rebuild, the man precomputed database?
------------------------------
LionelDyck <><
https://github.com/zigi
https://github.com/lbdyck
------------------------------
man -k xxxxx
This will NOT find any of the conda installed man pages even if the MANPATH has been updated correctly.
Note: I can do a 'man gunzip' to read the specific man page which indicates the MANPATH is correct but 'man -k gunzip' finds nothing.
The -k explanation is:
Searches a precomputed database of syntax lines for information about keywords.
Is there a way to update, or rebuild, the man precomputed database?
------------------------------
LionelDyck <><
https://github.com/zigi
https://github.com/lbdyck
------------------------------
mandb is used to initialise or manually update index database caches. The caches contain information relevant to the current state of the manual page system and the information stored within them is used by the man-db utilities to enhance their speed and functionality.
------------------------------
LionelDyck <><
https://github.com/zigi
https://github.com/lbdyck
------------------------------
I did find that the command to do the rebuild it mandb but I don't find a port of that ?
mandb is used to initialise or manually update index database caches. The caches contain information relevant to the current state of the manual page system and the information stored within them is used by the man-db utilities to enhance their speed and functionality.
------------------------------
LionelDyck <><
https://github.com/zigi
https://github.com/lbdyck
------------------------------
mandb is used to initialise or manually update index database caches. The caches contain information relevant to the current state of the manual page system and the information stored within them is used by the man-db utilities to enhance their speed and functionality.
------------------------------
LionelDyck <><
https://github.com/zigi
https://github.com/lbdyck
------------------------------
You can probably write a script that extracts the relevant line from /rsusr/ported/man/catn/command.1 and append it to /usr/man/C/whatis
Edit: I experimented by creating an additional whatis file in my MANPATH, but "man" appears to only read from the first whatis file it finds
------------------------------
Joern Thyssen
Rocket Software
------------------------------
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.