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]

Re: possible problem with "find . -name blah -o -name blah2"


On Aug 20, 2014, at 16:58 , 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 {} \;

Not a Cygwin problem.  Try:

	find . \( -name \*.cs -o -name \*.h -o -name \*.cpp \) -exec ls {} \;

-g

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]