From owner-freebsd-hackers Sun Oct 17 11:19:22 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from ppp142109.asahi-net.or.jp (ppp142109.asahi-net.or.jp [202.213.142.109]) by hub.freebsd.org (Postfix) with ESMTP id 91B8E14C28 for ; Sun, 17 Oct 1999 11:19:11 -0700 (PDT) (envelope-from tfuruya@ppp142109.asahi-net.or.jp) Received: from localhost (localhost.tf.or.jp [127.0.0.1]) by galois.tf.or.jp (8.9.3/3.7W-Teddy-99050304) with ESMTP id DAA24849; Mon, 18 Oct 1999 03:17:32 +0900 (JST) To: n@nectar.com Cc: ht5t-fry@asahi-net.or.jp, zzhang@cs.binghamton.edu, freebsd-hackers@freebsd.org, nectar@nectar.com Subject: Re: Search a symbol in the source tree From: Tetsuro Teddy FURUYA (=?iso-2022-jp?B?GyRCOEVDKxsoQiAbJEJFL086GyhC?=) In-Reply-To: Your message of "Sun, 17 Oct 1999 11:37:11 -0500" <19991017163712.3911B1D95@bone.nectar.com> References: <19991017163712.3911B1D95@bone.nectar.com> X-Mailer: Mew version 1.93 on Emacs 19.28 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19991018031731U.tfuruya@galois.tf.or.jp> Date: Mon, 18 Oct 1999 03:17:31 +0900 X-Dispatcher: imput version 980905(IM100) Lines: 23 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: Jacques Vidrine Subject: Re: Search a symbol in the source tree Date: Sun, 17 Oct 1999 11:37:11 -0500 n> On 18 October 1999 at 0:39, Tetsuro Teddy FURUYA (=?iso-2022-jp?B?GyRCOEVDKxsoQiAbJEJFL086GyhC?=) wrote: n> > It seems queer to me that there has been none who has refered to n> > find - exec n> > pairs. n> > n> > You may type into shell like; n> > $find . -name "*.c" -print -exec "egrep" "-i" "idt" {} \; | less n> > Here , "idt" is a search string. n> n> That's because no one wants a separate invocation of egrep for n> every file! ^^^^^^ Probably, except me ! But, what various and interesting methods to search symbols there are ! If we do not restrict the usage of search method, there might be yet another methods. Teddy Furuya To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message