On 10/2/07, Valkanas Nikos <[EMAIL PROTECTED]> wrote: > Sorry for butting in. Considering that "Desktop" is a valid subdir is it > normal behavior in *any* shell to get: > > DrWho:~-> cd Desktop > sh: cd: Desktop: No such file or directory > > Which shell behaves like that?
Chet Ramey listed some in his mail, I've tried: ash, ksh93 and pdksh when invoked with the name "sh", /bin/sh and /usr/xpg4/bin/sh under sunOS 5.8 They all behave like bash when started with the name "sh" > Even if one would argue that CDPATH should not be set in sh CDPATH is documented in sh, so there is no reason not to use it, but so far the only "sh" I found that cd to a subdir in the current path when CDPATH is set is zsh when started with the name "sh".