delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/30/16:25:38

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Mon, 30 Jul 2001 21:39:51 +0200
From: Kurt Roeckx <Q AT ping DOT be>
To: "Frazer, Ryan" <RYAN DOT FRAZER AT ca DOT com>
Cc: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: Question about version of GREP
Message-ID: <20010730213951.A1423@ping.be>
References: <2D0C70C401A8D311A7CD009027AA3D7E06091A2F AT usilms06 DOT ca DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <2D0C70C401A8D311A7CD009027AA3D7E06091A2F@usilms06.ca.com>

On Mon, Jul 30, 2001 at 02:24:46PM -0400, Frazer, Ryan wrote:
> 
> What I will ask, however, is can I update the version of GREP that came with Cygwin?  I'd like to be able to use GREP to looking into subdirecties as well.  I saw a GREP v2.0 that had added this functionality.  I found it at http://www.interlog.com/~tcharron/grep.html.

From what I get, it's based on GNU grep 2.0, the latest being
2.4.2. GUN grep 2.0 itself is from 1996, maybe he really should upgrade. :)

You can probably patch grep to do the same, but there are other
ways you can do the same:

find . -type f | xargs grep string
grep string `find . -type f`


Kurt


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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