This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Question about version of GREP


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]