X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:subject:from:to:mime-version
	:content-type:content-transfer-encoding; q=dns; s=default; b=Awm
	OoB+jsssLBj3fYiDX7h4Y1rS1Cz5pjGPLftPNdJNc54MzIs5DUX5p00a7wVuTNay
	QPCL3AEiTqIV4xHKJnHGzw3erhwaoqAnY8HBkS7RoEVCqyv9ZNl+dT0HgUmddZQY
	7xUlLiPBhoZiKWy+emE2mO2tJfJUU6cynGSjInpw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:subject:from:to:mime-version
	:content-type:content-transfer-encoding; s=default; bh=GTu/OEEVl
	94jJrwxR/xL62Q52II=; b=bpqDZTzck/CAU6gqJ8jtoX8s/UEWHHEB4ET1vlEmy
	xgUV1B4jhFJ+W3o/Y+g9zNzXdz+skfUL2IZwcZQTjhbEx9QAnsPNHdp4+nRUfrCh
	EFW/nFAxlNs8SsvvtidprcNmLXba60KoS+L1rBvidbNa79r4xM3f8lpke4pD3n92
	Rg=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: Yes, score=6.0 required=5.0 tests=AWL,BAYES_40,RP_MATCHES_RCVD,SPF_PASS autolearn=no version=3.3.2
X-HELO: bo.bogusville.us
Message-ID: <8d384135fd838eaef07b4eb66ab60cae.squirrel@bogusville.us>
Date: Wed, 20 Aug 2014 13:58:36 -0700
Subject: possible problem with "find . -name blah -o -name blah2"
From: mlist@bogusville.us
To: cygwin@cygwin.com
User-Agent: SquirrelMail/1.4.22-4.el6
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Bogusville-MailScanner-Information: Please contact the ISP for more information
X-Bogusville-MailScanner-ID: E6A005494.A4DD0
X-Bogusville-MailScanner: Found to be clean
X-Bogusville-MailScanner-From: mlist@bogusville.us

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 {} \;

pick your favorite for 'ls'

this works as expected

   find . -name \*.cs -o -name \*.h -o -name \*.cpp

it's probably not a horrible problem but i thought i'd report it.

   bo

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

