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
15 .\" $FreeBSD: src/gnu/usr.bin/man/manpath/manpath.man,v 1.6.2.3 2001/10/04 13:02:24 ru Exp $
16 .\" $DragonFly: src/gnu/usr.bin/man/manpath/manpath.man,v 1.2 2003/06/17 04:25:46 dillon Exp $
22 .Nd determine user's search path for man pages
28 tries to determine the user's manpath from a set of system
29 defaults and the user's
31 echoing the result to the standard output.
32 Warnings and errors are written to the standard error.
33 If a directory in the user's path is not listed in the
34 .Pa %manpath_config_file%
37 looks for the subdirectories
41 If they exist, they are added to the search path.
42 If they do not exist, but the directory ends in
49 and checks if that directory exists.
50 If it exists, it is added to the search path.
55 to determine the search path, so users normally don't need to set the
57 environment variable directly.
59 The options are as follows:
62 Output additional debug information.
64 Output man locales list (if exist).
67 Only echo the final result.
70 .Bl -tag -width MANLOCALES -compact
76 echoes its value on the standard output and issues a warning on the
85 echoes its value on the standard output and issues a warning on the
89 .Bl -tag -width %manpath_config_file% -compact
90 .It Pa %manpath_config_file%
91 System configuration file.