X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.6 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Date: Thu, 9 Aug 2012 10:27:48 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <113548487.20120809102748@mtu-net.ru> To: AngusC , cygwin AT cygwin DOT com Subject: Re: problem using recursive grep (-r option) In-Reply-To: <34270681.post@talk.nabble.com> References: <34266659 DOT post AT talk DOT nabble DOT com> <50213AE5 DOT 5010206 AT gmail DOT com> <34270681 DOT post AT talk DOT nabble DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Greetings, AngusC! > This works > find . -name "*.log" | grep -nH -r "my pattern" *.* What? This is ridiculous. Do you read what you write? -- WBR, Andrey Repin (anrdaemon AT freemail DOT ru) 09.08.2012, <10:27> Sorry for my terrible english... -- 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