find in conjuction with grep

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Thu Aug 12 20:10:37 UTC 2004


Am Do, den 12.08.2004 schrieb Lew Bloch um 21:08:

> >>I've been using
> >>> find . -exec grep "phrase I want" {} \;
> > 
> > Not the best way. Using -exec is problematic.
> 
> How exactly is the -exec directive problematic?
> 
> I use "find ... -exec grep ..." a lot.  I also use the "find ... | xargs 
> grep ..." a lot.

Please see the thread discussion. It is already answered.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.7-1.494.2.2smp 
Serendipity 22:09:55 up 8 days, 15:37, load average: 1.27, 1.23, 1.27 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040812/f79e396c/attachment-0001.sig>


More information about the fedora-list mailing list