On 10/1/07, Valkanas Nikos <[EMAIL PROTECTED]> wrote:
>
> Dear Pierre,
>
> I am afraid you didn't understand my problem.

I think I did, if bash is invoked as sh, it behaves differently, one
of these differences is that
cd will not try to search in you current directory.
as soon as CDPATH is set, "cd Desktop" will only work if Desktop is in a subdir
of the directories defined in CDPATH and will fail even if Desktop is
in your current dir.

This behaviour is documented in the reference guide read again my first mail.

It seems that  this  documented behaviour is a "bug" because POSIX
doesn't define it this way. I tend to agree with Erik on this point.

Now the sh,  I have around me now behave like bash (ash, solaris'
/bin/sh and /usr/xgp4/bin/sh)

Pierre


Reply via email to