| 1 | .\" Man page for manpath |
| 2 | .\" |
| 3 | .\" Copyright (c) 1990, 1991, John W. Eaton. |
| 4 | .\" |
| 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 |
| 7 | .\" distribution. |
| 8 | .\" |
| 9 | .\" John W. Eaton |
| 10 | .\" jwe@che.utexas.edu |
| 11 | .\" Department of Chemical Engineering |
| 12 | .\" The University of Texas at Austin |
| 13 | .\" Austin, Texas 78712 |
| 14 | .\" |
| 15 | .TH manpath 1 "Jan 5, 1991" |
| 16 | .LO 1 |
| 17 | .SH NAME |
| 18 | manpath \- determine user's search path for man pages |
| 19 | .SH SYNOPSIS |
| 20 | manpath [\-q] |
| 21 | .SH DESCRIPTION |
| 22 | manpath tries to determine the user's manpath from a set of system |
| 23 | defaults and the user's |
| 24 | .B PATH , |
| 25 | echoing the result to the standard output. Warnings and errors are |
| 26 | written to the standard error. |
| 27 | If a directory in the user's path is not listed in the manpath.config |
| 28 | file, manpath looks for the subdirectories man or MAN. If they exist, |
| 29 | they are added to the search path. |
| 30 | .PP |
| 31 | manpath is used by |
| 32 | .B man |
| 33 | to determine the search path, so user's normally don't need to set the |
| 34 | .B MANPATH |
| 35 | environment variable directly. |
| 36 | .SH OPTIONS |
| 37 | .TP |
| 38 | .B \-\^q |
| 39 | Operate quietly. Only echo the final manpath. |
| 40 | .SH ENVIRONMENT |
| 41 | .TP \w'MANPATH\ \ 'u |
| 42 | .B MANPATH |
| 43 | If |
| 44 | .B MANPATH |
| 45 | is set, |
| 46 | .B manpath |
| 47 | echoes its value on the standard output and issues a warning on the |
| 48 | standard error. |
| 49 | .SH FILES |
| 50 | .TP \w'/etc/manpath.config'u+2n |
| 51 | .BI /etc/manpath.config |
| 52 | System configuration file. |
| 53 | .SH "SEE ALSO" |
| 54 | apropos(1), whatis(1), man(1). |
| 55 | .SH BUGS |
| 56 | None known. |