version 1.22, 2017/03/17 17:24:41 |
version 1.24, 2017/03/21 18:06:12 |
|
|
.Pa cat1/foo.0 |
.Pa cat1/foo.0 |
and |
and |
.Pa man1/foo.1 , |
.Pa man1/foo.1 , |
exist in the same directory, and at least one of them is selected, |
exist in the same directory, only the unformatted version is used. |
only the newer one is used. |
|
However, if both the |
|
.Fl a |
|
and the |
|
.Fl w |
|
options are specified, both file names are printed. |
|
.Sh ENVIRONMENT |
.Sh ENVIRONMENT |
.Bl -tag -width MANPATHX |
.Bl -tag -width MANPATHX |
.It Ev MACHINE |
.It Ev MACHINE |
Line 322 is case insensitive. |
|
Line 316 is case insensitive. |
|
.It Ev MANPAGER |
.It Ev MANPAGER |
Any non-empty value of the environment variable |
Any non-empty value of the environment variable |
.Ev MANPAGER |
.Ev MANPAGER |
will be used instead of the standard pagination program, |
is used instead of the standard pagination program, |
.Xr more 1 . |
.Xr more 1 . |
If |
If |
.Xr less 1 |
.Xr less 1 |
Line 346 information about the term last searched for with |
|
Line 340 information about the term last searched for with |
|
.It Ev MANPATH |
.It Ev MANPATH |
The standard search path used by |
The standard search path used by |
.Nm |
.Nm |
may be overridden by specifying a path in the |
may be changed by specifying a path in the |
.Ev MANPATH |
.Ev MANPATH |
environment |
environment variable. |
variable. |
|
The format of the path is a colon |
The format of the path is a colon |
.Pq Ql \&: |
.Pq Ql \&: |
separated list of directories. |
separated list of directories. |
|
Invalid paths, or paths without manual databases, are ignored. |
|
Overridden by |
|
.Fl M , |
|
ignored if |
|
.Fl l |
|
is specified. |
|
.Pp |
|
If |
|
.Ev MANPATH |
|
begins with a colon, it is appended to the default list; |
|
if it ends with a colon, it is prepended to the default list; |
|
or if it contains two adjacent colons, |
|
the standard search path is inserted between the colons. |
|
If none of these conditions are met, it overrides the |
|
standard search path. |
.It Ev PAGER |
.It Ev PAGER |
Specifies the pagination program to use when |
Specifies the pagination program to use when |
.Ev MANPAGER |
.Ev MANPAGER |
|
|
If neither PAGER nor MANPAGER is defined, |
If neither PAGER nor MANPAGER is defined, |
.Xr more 1 |
.Xr more 1 |
.Fl s |
.Fl s |
will be used. |
is used. |
|
Only used if |
|
.Fl a |
|
or |
|
.Fl l |
|
is specified. |
.El |
.El |
.Sh FILES |
.Sh FILES |
.Bl -tag -width /etc/man.conf -compact |
.Bl -tag -width /etc/man.conf -compact |