logo       

Re: Re: something wrong with my MSYS installation?: msg#00049

gnu.mingw.msys

Subject: Re: Re: something wrong with my MSYS installation?

Quoting wolfgang <ora.et.labora-S0/GAf8tV78@xxxxxxxxxxxxxxxx>:



Then I have:
$ find -type f -exec grep x '{}' \;
=> works

PATH=c:/opt/python/240:$PATH

$ echo $PATH | od -ta
0000000 c : / o p t / p y t h o n / 2 4
0000020 0 : . : / u s r / l o c a l / b
0000040 i n : / m i n g w / b i n : / b
0000060 i n : / c / W I N D O W S / s y
0000100 s t e m 3 2 : / c / W I N D O W
0000120 S : / c / W I N D O W S / S y s
0000140 t e m 3 2 / W b e m nl
0000153

$ find -type f -exec grep x '{}' \;
find: grep: No such file or directory


Ok, I confirm there is a bug. Please file a bug report. The bug is in the MSYS runtime and only occurs if there is a single character path as the first path in PATH.

$ type -a find
find is /bin/find
find is /c/WINDOWS/system32/find

geronimo@FRISCO ~
$ type -a grep
grep is /bin/grep



(Btw, does someone know how to get rid of /c/WINDOWS/system32/find? It
gets magically created again after I deleted it????)


You have to turn off the features that keep c:/windows/system32 sane or find all copies of the windows find and remove them. Somewhere on your drive is a version of windows as it has been installed and possibly versions as it has been patched. However, you shouldn't need to remove the windows find as long as you keep the /bin directory before all other directories.

Earnie Boyd

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise