Re: Strange behaviour in the which command.

2004-12-26 Thread Corinna Vinschen
On Dec 26 12:26, Michel Van den Bergh wrote: > Hi, > > I am running a recent version of Cygwin. > > Problem: the command 'which' seems to return succesfully when it shouldn't. > > When I do > > which programthatdoesnotexist > echo $? > > I get the value 0. > > Can somebody confirm this? Is th

Strange behaviour in the which command.

2004-12-26 Thread Michel Van den Bergh
Hi, I am running a recent version of Cygwin. Problem: the command 'which' seems to return succesfully when it shouldn't. When I do which programthatdoesnotexist echo $? I get the value 0. Can somebody confirm this? Is this a bug? If so how to fix it? Regards, Michel -- Unsubscribe info: http:/