Subject: Re: Recursive grep (where is limfree defined?)
To: None <current-users@NetBSD.ORG>
From: Takahiro Kanbe <taca@fxis.fujixerox.co.jp>
List: current-users
Date: 01/23/1996 22:17:46
On Mon, 22 Jan 1996 19:27:36 -0600 (CST)
	Jeff Thieleke <thieleke@icaen.uiowa.edu> writes:
> > >Where is limfree defined?
> > 
> > find /usr/src/sys -name '*.c' -exec grep '^limfree' '{}' /dev/null \;
> 
> 
> I found this patch today on the FreeBSD hackers mailing list.  It patches
> the grep source to allow recursive searches.  Compared to the find method
> shown above, it is about 3-4x faster.

As for finding undefined symbols:

	% cd /sys/arch/XXX/compile/MYKERNEL
	% nm -n *.o | less

Search with "/ U /" in less would find much easier.

--
Takahiro Kanbe <taca@fxis.fujixerox.co.jp>