|
From: | ziyunfei |
Subject: | `pwd' returns a dot |
Date: | Wed, 16 Sep 2015 15:51:08 +0800 |
$ 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
[Prev in Thread] | Current Thread | [Next in Thread] |