summaryrefslogtreecommitdiff
path: root/bin/ksh/ksh.1
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ksh/ksh.1')
-rw-r--r--bin/ksh/ksh.110
1 files changed, 6 insertions, 4 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1
index 4b2632d8134..e521d44f71c 100644
--- a/bin/ksh/ksh.1
+++ b/bin/ksh/ksh.1
@@ -1,5 +1,5 @@
'\" t
-.\" $OpenBSD: ksh.1,v 1.11 1998/09/27 02:49:24 aaron Exp $
+.\" $OpenBSD: ksh.1,v 1.12 1998/10/29 04:09:20 millert Exp $
.\"{{{}}}
.\"{{{ Notes about man page
.\" - use the pseudo-macros .sh( and .sh) to begin and end sh-specific
@@ -1591,8 +1591,10 @@ Execute the built-in command \fIcommand\fP.
.\"{{{ cd [-LP] [dir]
.IP "\fBcd\fP [\fB\-LP\fP] [\fIdir\fP]"
Set the working directory to \fIdir\fP. If the parameter \fBCDPATH\fP
-is set, it lists the search path for the directory containing \fIdir\fP. A
-null path means the current directory. If \fIdir\fP is found in any
+is set, it lists directories to search in for \fIdir\fP.
+\fIdir\fP. An empty entry in the \fBCDPATH\fP entry means the current
+directory. If a non-empty directory from \fBCDPATH\fP is used, the resulting
+full path is printed to standard output. If \fIdir\fP is found in any
component of the \fBCDPATH\fP search path other than the null path the name
of the new working directory will be written to standard output. If
\fIdir\fP is missing, the home directory \fB$HOME\fP is used. If \fIdir\fP
@@ -3291,7 +3293,7 @@ best). The following, if relevant (if you are not sure, include them),
can also helpful: options you are using (both options.h options and set
\-o options) and a copy of your config.h (the file generated by the
configure script). New versions of pdksh can be obtained from
-ftp.cs.mun.ca:pub/pdksh/.
+ftp://ftp.cs.mun.ca/pub/pdksh/.
.\"}}}
.\"{{{ Authors
.SH AUTHORS