From owner-freebsd-hackers Sun Oct 17 9:37:16 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from gw.nectar.com (gw.nectar.com [209.98.143.44]) by hub.freebsd.org (Postfix) with ESMTP id D032C14A13 for ; Sun, 17 Oct 1999 09:37:13 -0700 (PDT) (envelope-from nectar@nectar.com) Received: from bone.nectar.com (bone.nectar.com [10.0.0.105]) by gw.nectar.com (Postfix) with ESMTP id 212CCC008; Sun, 17 Oct 1999 11:37:15 -0500 (CDT) Received: from bone.nectar.com (localhost [127.0.0.1]) by bone.nectar.com (Postfix) with ESMTP id 3911B1D95; Sun, 17 Oct 1999 11:37:12 -0500 (CDT) X-Mailer: exmh version 2.1.0 09/18/1999 X-PGP-RSAfprint: 00 F9 E6 A2 C5 4D 0A 76 26 8B 8B 57 73 D0 DE EE X-PGP-RSAkey: http://www.nectar.com/nectar-rsa.txt X-PGP-DSSfprint: AB2F 8D71 A4F4 467D 352E 8A41 5D79 22E4 71A2 8C73 X-PGP-DHfprint: 2D50 12E5 AB38 60BA AF4B 0778 7242 4460 1C32 F6B1 X-PGP-DH-DSSkey: http://www.nectar.com/nectar-dh-dss.txt From: Jacques Vidrine To: Tetsuro Teddy FURUYA (=?iso-2022-jp?B?GyRCOEVDKxsoQiAbJEJFL086GyhC?=) Cc: zzhang@cs.binghamton.edu, freebsd-hackers@freebsd.org, nectar@nectar.com In-reply-to: <19991018003944T.tfuruya@galois.tf.or.jp> References: <19991018003944T.tfuruya@galois.tf.or.jp> Subject: Re: Search a symbol in the source tree Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 17 Oct 1999 11:37:11 -0500 Message-Id: <19991017163712.3911B1D95@bone.nectar.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 18 October 1999 at 0:39, Tetsuro Teddy FURUYA (=?iso-2022-jp?B?GyRCOEVDKxsoQiAbJEJFL086GyhC?=) 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