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.
find /usr/src -name \*.\[ch] -print | xargs grep pattern
or similar.
--
Daniel C. Sobral (8-DCS)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
"I always feel generous when I'm in the inner circle of a
conspiracy to subvert the world order and, with a small group of
allies, just defeated an alien invasion. Maybe I should value myself
a little more?"
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
- Search a symbol in the source tree Zhihui Zhang
- Re: Search a symbol in the source tree Dan Nelson
- Re: Search a symbol in the source tree bush doctor
- Re: Search a symbol in the source tree Kris Kennaway
- Re: Search a symbol in the source tree Daniel C. Sobral
- Re: Search a symbol in the source tree Greg Lehey
- Re: Search a symbol in the source tree 古谷 哲郎
- Re: Search a symbol in the source tree Jacques Vidrine
- Re: Search a symbol in the source tree 古谷 哲郎
- Re: Search a symbol in the source t... Scott Hess
- Re: Search a symbol in the sou... Bakul Shah
- Re: Search a symbol in the source t... Brian Beattie
- Re: Search a symbol in the source t... Greg Lehey
- Re: Search a symbol in the source tree 古谷 哲郎
- Re: Search a symbol in the source tree 古谷 哲郎

