From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23610 invoked by alias); 8 Aug 2012 09:24:09 -0000 Received: (qmail 23601 invoked by uid 22791); 8 Aug 2012 09:24:08 -0000 X-SWARE-Spam-Status: No, hits=-5.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-bk0-f43.google.com (HELO mail-bk0-f43.google.com) (209.85.214.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 08 Aug 2012 09:23:56 +0000 Received: by bkty15 with SMTP id y15so204539bkt.2 for ; Wed, 08 Aug 2012 02:23:55 -0700 (PDT) Received: by 10.204.129.8 with SMTP id m8mr6872916bks.62.1344417835528; Wed, 08 Aug 2012 02:23:55 -0700 (PDT) Received: from [192.168.2.197] (93-33-97-190.ip44.fastwebnet.it. [93.33.97.190]) by mx.google.com with ESMTPS id t23sm9900891bks.4.2012.08.08.02.23.54 (version=SSLv3 cipher=OTHER); Wed, 08 Aug 2012 02:23:55 -0700 (PDT) Message-ID: <50223025.90003@gmail.com> Date: Wed, 08 Aug 2012 10:03:00 -0000 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: problem using recursive grep (-r option) References: <34266659.post@talk.nabble.com> <34270643.post@talk.nabble.com> In-Reply-To: <34270643.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-08/txt/msg00184.txt.bz2 On 8/8/2012 11:11 AM, AngusC wrote: > DO NOT TOP POST ! > I did try the --include way but in Cygwin it didn't work for some reason. > > Neither does > > find "." -name "*.log" -exec grep -nH "my pattern" {} \; find "." -name "*.log" -exec grep -nH "my pattern" \{\} \; -- 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