I've just upgraded MSYS to the latest snapshots available:
It runs out that the new which script does not succeed
in finding a program if the program resides in a directory with blanks in the directory name.
# File: which
# $Id: which,v 1.2 2006/02/11 10:43:06 keithmarshall Exp $
This problem is independent of OS (I tested on w2k, XP prof., Vista 64).
The cause of the problem is in line 32 of the script:
for LIST in `type -ap -- "$PROG" || type -p -- "$PROG"`
If a directory contains blanks, then above line
will return as many individuyl "$LIST" chnunks as there
are blank seperated parts in the directory name.
However the rest of the script assumes that one "$LIST"
chnunk contains one full path and filename.
BTW: msys is great!