linux-mips-fnet
[Top] [All Lists]

Re: Saturday in Paris

To: linux-mips@fnet.fr
Subject: Re: Saturday in Paris
From: Warner Losh <imp@village.org>
Date: Mon, 16 Oct 1995 10:26:21 -0600
In-reply-to: Your message of Mon, 16 Oct 1995 15:47:59 +0200
: - one should alias 'find . -name "*.c" -exec grep PATTERN {} \; -print'

find -name "*.c" -print | xargs egrep PATTERM

is a bunch faster :-)  100's of fewer fork/execs in most cases.  I
learned this the hard way wtih OI sources which were 200K lines in
gobs of files...

Warner

<Prev in Thread] Current Thread [Next in Thread>