delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/19/11:40:37

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-Id: <5.2.0.9.2.20030119084021.01d88400@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Sun, 19 Jan 2003 08:41:43 -0800
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: grep -r *.java doesn't work as expected
In-Reply-To: <017001c2bfd8$acb88450$78d96f83@pomello>
References: <200301181654 DOT h0IGsu3O020484 AT proxy3 DOT cisco DOT com>
<5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030119082455 DOT 02ce72e8 AT pop3 DOT cris DOT com>
Mime-Version: 1.0

Hi, Max,

At 08:34 2003-01-19, Max Bowsher wrote:
>Randall R Schulz wrote:
> > Grep _will_ search in files found throughout a directory hierarchy,
> > but that's not it's default mode of operation. Look into the "-R" /
> > "-r" / "--recursive" option and the associated "--include" and
> > "--exclude" options.
>
>I didn't know about --include/--exclude - much simpler than find and xargs!
>Thanks!
>
> > Also, I don't know what you intend by your use of "-m"
>
>That would be "-rn", as in the contraction of "-r -n" :-)

Indeed! I really wish my good monitor hadn't broken (when I myself am broke).


>Max Bowsher.


Randall Schulz 


--
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