diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2019-11-26 22:49:02 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2019-11-26 22:49:02 +0000 |
commit | eeabae2677dffc6d0edffa167bf5de732c5d838d (patch) | |
tree | 2ee00bfc675cf838c16ec6fdd818c1ca7b6dad17 /bin | |
parent | 8c35bba18d249125034963ad5190b8ac839adf34 (diff) |
some corrections to CDPATH;
from chohag
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ksh/ksh.1 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1 index e562913f360..7330e9391f8 100644 --- a/bin/ksh/ksh.1 +++ b/bin/ksh/ksh.1 @@ -1,8 +1,8 @@ -.\" $OpenBSD: ksh.1,v 1.207 2019/06/24 15:05:17 jca Exp $ +.\" $OpenBSD: ksh.1,v 1.208 2019/11/26 22:49:01 jmc Exp $ .\" .\" Public Domain .\" -.Dd $Mdocdate: June 24 2019 $ +.Dd $Mdocdate: November 26 2019 $ .Dt KSH 1 .Os .Sh NAME @@ -1341,7 +1341,7 @@ Note that if .Ev CDPATH is set and does not contain .Sq \&. -or contains an empty path, the current directory is not searched. +or an empty path, the current directory is not searched. Also, the .Ic cd built-in command will display the resulting directory when a match is found @@ -2866,7 +2866,9 @@ is set, it lists the search path for the directory containing .Ar dir . A .Dv NULL -path means the current directory. +path or +.Ql .\& +means the current directory. If .Ar dir is found in any component of the |