Subject: Re: where is limfree defined?
To: None <current-users@NetBSD.ORG>
From: None <is@Beverly.Rhein.DE>
List: current-users
Date: 01/24/1996 22:48:26
Bruce Albrecht ( wrote:

: So far, I haven't seen anyone suggest the following:
:    grep '^limfree' `find /usr/src/sys -name '*.c' -print `
: Is there some reason why this is worse than using a construct like 
: find | xargs | grep ?

Yes. You will exceed the maximum command line, whatever it might be,
when you are least prepared.

My favourite recursive grep is:

find /usr/src/sys -name '*.c' -exec grep '^limfree# {} /dev/null \;

But for these kind of searches, often the use of tags is more
convenient. After 12 years of Unix experience, I finally learned how to use

vi -t limfree

3 days ago, and I _like_ it.

	Ignatios Souvatzis