delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/11/16:55:51

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: Thu, 11 Jan 2001 16:54:05 -0500
From: Ashok Vadekar <avadekar AT certicom DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Recursive grep [WAS: Re: date]
Message-ID: <20010111165405.B5955@volta.certicom.com>
Reply-To: avadekar AT certicom DOT com
References: <3A5E2779 DOT 29738 DOT E908D08 AT localhost> <3A5E274E DOT C57D2FD2 AT yahoo DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 1.0i
In-Reply-To: <3A5E274E.C57D2FD2@yahoo.com>; from earnie_boyd@yahoo.com on Thu, Jan 11, 2001 at 04:36:14PM -0500

On Thu, Jan 11, 2001 at 04:36:14PM -0500, Earnie Boyd wrote:
> find . -name \*.cc -exec echo '{}' ';' -exec grep getenv '{}' ';'
Or with fewer keystrokes:
find . -name \*.cc -print -exec grep getenv '{}' ';'

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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