[Top] [All Lists]

Re: Saturday in Paris

Subject: Re: Saturday in Paris
From: Warner Losh <>
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...


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