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

Re: find+grep [was: Re: Amaya W3C Web browser and sid]



On Jo, 29 iul 10, 08:41:57, Andrei Popescu wrote:
> On Mi, 28 iul 10, 16:10:38, Jordon Bedwell wrote:
> > On 7/28/10 4:03 PM, Jordan Metzmeier wrote:
> > >On 07/28/2010 04:11 PM, Jordon Bedwell wrote:
> > >>
> > >>find / |grep libraptor
> > >
> > >Perhaps you wanted find's -name option? find / -name 'libraptor*'
> > 
> > I personally prefer to grep over find, but to each their own :P as
> > each have their own methods to do things that ultimately lead to the
> > same solution.
> 
> Assuming very long output of find, grepping over it is not efficient. 
> Besides, the file you search might be quite early found and one can 
> interrupt the search, while with your approach one has to wait until 
> both find and finish.
grep----------^^^

Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

Attachment: signature.asc
Description: Digital signature


Reply to: