xref
: /
freebsd
/
bin
/
sh
/
tests
/
builtins
/
cd6.0
(revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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