delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/20/16:59:02

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT bogusville DOT us
To: cygwin AT cygwin DOT com
User-Agent: SquirrelMail/1.4.22-4.el6
MIME-Version: 1.0
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 AT bogusville DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019