find in conjuction with grep

Aaron Gaudio prothonotar at tarnation.dyndns.org
Wed Aug 11 19:23:52 UTC 2004


On Wed, 2004-08-11 at 14:51 -0400, Robert P. J. Day wrote:
> On Wed, 11 Aug 2004, Alexander Dalloz wrote:
> 
> > Am Mi, den 11.08.2004 schrieb Kevin Old um 20:31:
> >
> >> I've been using
> >> find . -exec grep "phrase I want" {} \;
> >
> > Not the best way. Using -exec is problematic.
> 
> why problematic? 

I think the main complaint is that it is slower, having to exec a new
grep process for each file find encounters, versus piping to xargs
(which will be faster overall, but provide less running feedback).





More information about the fedora-list mailing list