bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: find 4.2.20-2 bug


From: Eric Blake
Subject: Re: find 4.2.20-2 bug
Date: Fri, 30 May 2014 09:40:33 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On 05/30/2014 01:37 AM, Jim Michaels wrote:
> Thu 05/29/2014  1:53:34.03|d:\www\jimm|>find . -name "*.htm*" -exec grep 
> math.eval {} ; -print

This is not a valid command line in Unix sh (where ; has to be quoted).
 I suspect that the issue you are seeing is not a bug in upstream
findutils, but rather in your downstream port.  Windows does not do
globbing the same way as Unix, so any windows port has to do some magic
to convert the command line you typed into the actual argv[] that the
rest of the code base is expecting; I'd guess that there is a bug in
gnuwin's wrapper around findutils' main() where gnuwin code is
incorrectly expanding the quoted glob in a manner that prevents the
command from working the way you wanted.

> this is used in gnuwin32 (GNU utils for windows).

Therefore, you are better off reporting your bug there, because we don't
maintain the windows port here.

> 
> it is broken, please fix. thanks. also, it is very very slow on windows 
> (cygwin).

Cygwin is a different port than gnuwin32; but the same caveat applies -
you are better off reporting your bug to the downstream port than here.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]