Modify MANPATH
The MANPATH is the path used to search for manual pages using man.
Usage
manPathConfigure [ --help ] [ --first ] [ --last ] [ path ]
Modify the MANPATH environment variable to add a path.
Arguments
--help- Flag. Optional. Display this help.--first- Flag. Optional. Place any paths after this flag first in the list--last- Flag. Optional. Place any paths after this flag last in the list. Default.path- the path to be added to theMANPATHenvironment
Return codes
0- Success1- Environment error2- Argument error
Usage
manPathRemove [ --help ] path
Remove a path from the MANPATH environment variable
Arguments
--help- Flag. Optional. Display this help.path- Directory. Required. The path to be removed from theMANPATHenvironment
Return codes
0- Success1- Environment error2- Argument error
Usage
manPathCleanDuplicates [ --help ]
Cleans the MANPATH and removes non-directory entries and duplicates Maintains ordering.
Arguments
--help- Flag. Optional. Display this help.
Return codes
0- Success1- Environment error2- Argument error