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

Reply via email to