1 .\" Man page for manpath
3 .\" Copyright (c) 1990, 1991, John W. Eaton.
5 .\" You may distribute under the terms of the GNU General Public
6 .\" License as specified in the README file that comes with the man 1.0
10 .\" jwe@che.utexas.edu
11 .\" Department of Chemical Engineering
12 .\" The University of Texas at Austin
13 .\" Austin, Texas 78712
21 .Nd determine user's search path for man pages
29 tries to determine the user's manpath from a set of system
30 defaults and the user's
32 echoing the result to the standard output.
33 Warnings and errors are written to the standard error.
34 If a directory in the user's path is not listed in the
35 .Pa %manpath_config_file%
38 looks for the subdirectories
42 If they exist, they are added to the search path.
43 If they do not exist, but the directory ends in
50 and checks if that directory exists.
51 If it exists, it is added to the search path.
57 to determine the search path, so users normally do not need to set the
59 environment variable directly.
61 The options are as follows:
62 .Bl -tag -width indent
64 Output additional debug information.
66 Output man locales list (if it exists).
69 Only echo the final result.
72 .Bl -tag -width ".Ev MANLOCALES" -compact
78 echoes its value on the standard output and issues a warning on the
87 echoes its value on the standard output and issues a warning on the
91 .Bl -tag -width ".Pa %manpath_config_file%" -compact
92 .It Pa %manpath_config_file%
93 System configuration file.