Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: kemiller@hcs.harvard.edu (Kenneth Miller)
Subject: Re: UNIX command to search subdirs for text in a file
Date: 1997/01/14	[thread overview]
Message-ID: <7j7mlg56ga.fsf@hcs.harvard.edu> (raw)
In-Reply-To: 01bc018d$8f170bc0$17ee1bac@usbgrjeff


Steve Strange USG <strange@zk3.dec.com> writes:

>> find . -name *.sql -print | grep -i "duplicate" *.pls

> How about something like

> find . -name "*.sql" -print | xargs egrep "duplicate"

find . -name \*.sql -exec fgrep -i duplicate "{}" \;

</flex>

-- 
________________________________________________________________________
                               Kenneth Miller <kemiller@hcs.harvard.edu>



  parent reply	other threads:[~1997-01-14  5:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-13  5:00 UNIX command to search subdirs for text in a file Jeff Shervey
1997-01-13  5:00 ` Mark Sirota
1997-01-14  5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1997-01-14  5:00 ` Steve Strange USG
1997-01-14  5:00 ` Kenneth Miller [this message]
1997-01-14  5:00 ` Gleb O. Raiko
1997-01-15  5:00 ` Juergen Fuhrmann
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox