Re: bugs in cd

2009-08-31 Thread Eric Blake
According to Eric Blake on 7/14/2009 3:39 PM: For the cd command, POSIX 2008 requires that after all pathnames in CDPATH have been tested and failed in step 5, then step 6 interprets the directory argument relative to PWD. In other words, this demonstrates a bug: $ dash -c 'cd /tmp;

Re: bugs in cd

2009-08-31 Thread Herbert Xu
On Tue, Jul 14, 2009 at 09:39:03PM +, Eric Blake wrote: For the cd command, POSIX 2008 requires that after all pathnames in CDPATH have been tested and failed in step 5, then step 6 interprets the directory argument relative to PWD. In other words, this demonstrates a bug: $ dash