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