delorie.com/archives/browse.cgi | search |
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 |
To: | cygwin AT cygwin DOT com |
X-Injected-Via-Gmane: | http://gmane.org/ |
Path: | not-for-mail |
From: | Andrew DeFaria <Andrew AT DeFaria DOT com> |
Newsgroups: | gmane.os.cygwin |
Subject: | Re: Broken since 1.3.10, or earlier |
Date: | Tue, 16 Jul 2002 20:12:05 -0700 |
Lines: | 15 |
Message-ID: | <3D34E085.4040600@DeFaria.com> |
References: | <ACEIKCIGAEOGOHGPJPIACEBLCDAA DOT DanHiggins AT austin DOT rr DOT com> |
NNTP-Posting-Host: | dsl-64-195-250-225.telocity.com |
Mime-Version: | 1.0 |
X-Trace: | main.gmane.org 1026875553 20922 64.195.250.225 (17 Jul 2002 03:12:33 GMT) |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
NNTP-Posting-Date: | Wed, 17 Jul 2002 03:12:33 +0000 (UTC) |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0rc2) Gecko/20020512 Netscape/7.0b1 |
X-Accept-Language: | en,ru |
Dan Higgins wrote: > Greetings, > > If I want to recursively find all files that contain some text, I use, > for example: > > find . -name '*.java' | while read l; do grep 'Copyright' "$l" && echo > "$l"; > done Just as an alternative, why not: $ find . -name '*.java' -exec grep 'Copyright' {}\; -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |