Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
On 9/16/15 3:51 AM, ziyunfei wrote:
> $ cd /
> $ PWD=. bash -c pwd
> .
> $ PWD=. ksh -c pwd
> /
>
> Posix says that pwd shouldn't return the filenames dot or dot-dot.
>http://pubs.opengroup.org/onlinepubs/9699919799/utilities/pwd.html
Thanks for the report. I'll take a look.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/