Hi,
pwd that works fine with tcsh won't give the logical path with sh. Why? How could I get the logical path with sh?
The strange behaviour:
pwd that works fine with tcsh won't give the logical path with sh. Why? How could I get the logical path with sh?
The strange behaviour:
Code:
/tmp > uname -a
FreeBSD freebsd73 7.3-RELEASE-p2 FreeBSD 7.3-RELEASE-p2 #0: Mon Jul 12 19:23:19 UTC 2010
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
/tmp > mkdir physical
/tmp > ln -s physical/ logical
/tmp > cd logical
/tmp/logical > /bin/pwd -L
/tmp/logical
/tmp/logical > sh
$ /bin/pwd -L
/tmp/physical