Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 1999 09:37:41 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Zhihui Zhang <zzhang@cs.binghamton.edu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Search a symbol in the source tree
Message-ID:  <19991013093741.S78191@freebie.lemis.com>
In-Reply-To: <Pine.GSO.3.96.991012102820.6979B-100000@sol.cs.binghamton.edu>
References:  <Pine.GSO.3.96.991012102820.6979B-100000@sol.cs.binghamton.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, 12 October 1999 at 10:32:00 -0400, Zhihui Zhang wrote:
>
> Can anyone suggest me a way of searching symbols in the entire /usr/src
> tree? I normally use grep */*.  But grep does not work recursively, right?
> Something like a small shell script may do this. Thanks a lot.

I use etags for this, in conjunction with Emacs.  Like that, I can
position the cursor on a word, press Alt-., and it will find the
definition for me.  It will also search for all occurrences with
Alt-S.

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


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?19991013093741.S78191>