summaryrefslogtreecommitdiff
path: root/share/man/man1/cd.1
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man1/cd.1')
-rw-r--r--share/man/man1/cd.111
1 files changed, 8 insertions, 3 deletions
diff --git a/share/man/man1/cd.1 b/share/man/man1/cd.1
index a8e00d2fbad..336f9b6c024 100644
--- a/share/man/man1/cd.1
+++ b/share/man/man1/cd.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cd.1,v 1.13 2004/07/21 13:33:12 jaredy Exp $
+.\" $OpenBSD: cd.1,v 1.14 2004/12/13 14:00:07 jmc Exp $
.\" $NetBSD: cd.1,v 1.2 1994/11/30 08:34:59 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -50,6 +50,9 @@ The interpretation of a relative pathname by
depends on the
.Ev CDPATH
environment variable (see below).
+For an explanation of the directory hierarchy,
+see
+.Xr hier 7 .
.Pp
Note that
.Nm
@@ -78,7 +81,7 @@ operand does not begin with a slash
character, and the first component is not dot
.Pq Ql \&.
or dot-dot
-.Pq Ql \&.\&. ,
+.Pq Ql .. ,
.Nm
searches for the directory relative to each colon-separated directory named
in the
@@ -114,7 +117,9 @@ for more information on environment variables.
.Xr csh 1 ,
.Xr pwd 1 ,
.Xr sh 1 ,
-.Xr chdir 2
+.Xr chdir 2 ,
+.Xr environ 7 ,
+.Xr hier 7
.Sh STANDARDS
The
.Nm