Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11494
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: `pwd' returns a dot |
| Date | 2015-09-16 10:47 -0400 |
| Message-ID | <mailman.1265.1442414900.19560.bug-bash@gnu.org> (permalink) |
| References | <E7A3427F-777A-48A5-999E-57884DCFEB58@qq.com> |
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/
Back to gnu.bash.bug | Previous | Next | Find similar
Re: `pwd' returns a dot Chet Ramey <chet.ramey@case.edu> - 2015-09-16 10:47 -0400
csiph-web