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: | Xerxes |
---|---|
Location: | Azle, Texas |
Users: | 131 |
Nodes: | 10 (0 / 10) |
Uptime: | 113:07:51 |
Calls: | 3,193 |
Calls today: | 3 |
Files: | 195 |
U/L today: |
0 files (0K bytes) |
D/L today: |
0 files (0K bytes) |
Messages: | 366,426 |
Posted today: | 0 |