Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Oct 1999 11:37:11 -0500
From:      Jacques Vidrine <n@nectar.com>
To:        Tetsuro Teddy FURUYA (=?iso-2022-jp?B?GyRCOEVDKxsoQiAbJEJFL086GyhC?=) <ht5t-fry@asahi-net.or.jp>
Cc:        zzhang@cs.binghamton.edu, freebsd-hackers@freebsd.org, nectar@nectar.com
Subject:   Re: Search a symbol in the source tree 
Message-ID:  <19991017163712.3911B1D95@bone.nectar.com>
In-Reply-To: <19991018003944T.tfuruya@galois.tf.or.jp> 
References:  <Pine.GSO.3.96.991012102820.6979B-100000@sol.cs.binghamton.edu> <19991018003944T.tfuruya@galois.tf.or.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18 October 1999 at 0:39, Tetsuro Teddy FURUYA (=?iso-2022-jp?B?GyRCOEVDKxsoQiAbJEJFL086GyhC?=) <ht5t-fry@asahi-net.or.jp> wrote:
> It seems queer to me that there has been none who has refered to 
> find - exec
> pairs.
> 
> You may type into shell like;
> $find . -name "*.c" -print -exec "egrep" "-i" "idt" {} \; | less
> Here , "idt" is a search string.

That's because no one wants a separate invocation of egrep for
every file!


-- 
Jacques Vidrine / n@nectar.com / nectar@FreeBSD.org




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991017163712.3911B1D95>