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    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to