This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 08/20/2014 02:58 PM, mlist@bogusville.us wrote: > using CYGWIN_NT-6.1, bash 4.1.11(2) and find 4.5.12, the following returns > immediately > > find . -name \*.cs -o -name \*.h -o -name \*.cpp -exec ls {} \; This parses as: find . -name \*.cs -o -name \*.h -o \( -name \*.cpp -exec ls {} \; \) > > pick your favorite for 'ls' > > this works as expected > > find . -name \*.cs -o -name \*.h -o -name \*.cpp This parses as: find . \( -name \*.cs -o -name \*.h -o -name \*.cpp \) -print > > it's probably not a horrible problem but i thought i'd report it. Not a bug. Same POSIX-mandated behavior on all platforms. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |