Use /bin/pwd instead of pwd to get the PWD.
Some shell pwd implementations default to the "Logical" PWD, which
can contain symlinks. The POSIX standard for /bin/pwd is to return
the "Physical" PWD with all symlinks resolved. Some shells don't
support the -P option the the built-in pwd, so we don't want to
reply on that.
For some reason, we're redefining the PWD env variable which should
by the phyical path, but I'm not really interested in tracking down
all the windy history for this.
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,043 |
Nodes: | 15 (0 / 15) |
Uptime: | 41:18:21 |
Calls: | 500,899 |
Calls today: | 2 |
Files: | 109,370 |
D/L today: |
4,663 files (476M bytes) |
Messages: | 304,218 |