xref
: /
freebsd
/
bin
/
sh
/
tests
/
builtins
/
cd6.0
(revision e1e636193db45630c7881246d25902e57c43d24e)
Home
History
Annotate
Line#
Scopes#
Navigate#
Raw
Download
current directory
1
2
set -e
3
cd -P /bin
4
d=$PWD
5
CDPATH=/:
6
cd -P .
7
[ "$d" = "$PWD" ]
8
cd -P ./
9
[ "$d" = "$PWD" ]
10