aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apropos.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-03-18 19:51:19 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-03-18 19:51:19 +0000
commit594c9866f903baae07fbafd0853149436fd06a11 (patch)
tree6c23cfca91398ae655fd2e41b770e10368b4458a /apropos.1
parentc0fb3f2307fc80d2d85cc1ab16c3fd262bba49a6 (diff)
downloadmandoc-594c9866f903baae07fbafd0853149436fd06a11.tar.gz
mandoc-594c9866f903baae07fbafd0853149436fd06a11.tar.zst
mandoc-594c9866f903baae07fbafd0853149436fd06a11.zip
Correct description of MANPATH, and a few more improvements
to the ENVIRONMENT section; OK jmc@
Diffstat (limited to 'apropos.1')
-rw-r--r--apropos.143
1 files changed, 24 insertions, 19 deletions
diff --git a/apropos.1 b/apropos.1
index e3acec96..e0aa37a7 100644
--- a/apropos.1
+++ b/apropos.1
@@ -1,4 +1,4 @@
-.\" $Id: apropos.1,v 1.41 2017/03/17 17:24:41 schwarze Exp $
+.\" $Id: apropos.1,v 1.42 2017/03/18 19:51:19 schwarze Exp $
.\"
.\" Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2011, 2012, 2014, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: March 17 2017 $
+.Dd $Mdocdate: March 18 2017 $
.Dt APROPOS 1
.Os
.Sh NAME
@@ -362,25 +362,25 @@ Text production:
.It Ev MANPAGER
Any non-empty value of the environment variable
.Ev MANPAGER
-will be used instead of the standard pagination program,
-.Xr more 1 .
+is used instead of the standard pagination program,
+.Xr more 1 ;
+see
+.Xr man 1
+for details.
+Only used if
+.Fl a
+or
+.Fl l
+is specified.
.It Ev MANPATH
-The standard search path used by
+A colon-separated list of directories to search for manual pages; see
.Xr man 1
-may be changed by specifying a path in the
-.Ev MANPATH
-environment variable.
-Invalid paths, or paths without manual databases, are ignored.
+for details.
Overridden by
-.Fl M .
-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.
+.Fl M ,
+ignored if
+.Fl l
+is specified.
.It Ev PAGER
Specifies the pagination program to use when
.Ev MANPAGER
@@ -388,7 +388,12 @@ is not defined.
If neither PAGER nor MANPAGER is defined,
.Xr more 1
.Fl s
-will be used.
+is used.
+Only used if
+.Fl a
+or
+.Fl l
+is specified.
.El
.Sh FILES
.Bl -tag -width "/etc/man.conf" -compact