Re: find in conjuction with grep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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).



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux