Add diclaimer of copyright to _osname() manual page.
[unix-history] / gnu / usr.bin / man / manpath / manpath.1
CommitLineData
00ba3d1d
JH
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
18manpath \- determine user's search path for man pages
19.SH SYNOPSIS
20manpath [\-q]
21.SH DESCRIPTION
22manpath tries to determine the user's manpath from a set of system
23defaults and the user's
24.B PATH ,
25echoing the result to the standard output. Warnings and errors are
26written to the standard error.
27If a directory in the user's path is not listed in the manpath.config
28file, manpath looks for the subdirectories man or MAN. If they exist,
29they are added to the search path.
30.PP
31manpath is used by
32.B man
33to determine the search path, so user's normally don't need to set the
34.B MANPATH
35environment variable directly.
36.SH OPTIONS
37.TP
38.B \-\^q
39Operate quietly. Only echo the final manpath.
40.SH ENVIRONMENT
41.TP \w'MANPATH\ \ 'u
42.B MANPATH
43If
44.B MANPATH
45is set,
46.B manpath
47echoes its value on the standard output and issues a warning on the
48standard error.
49.SH FILES
50.TP \w'/etc/manpath.config'u+2n
51.BI /etc/manpath.config
52System configuration file.
53.SH "SEE ALSO"
54apropos(1), whatis(1), man(1).
55.SH BUGS
56None known.