From: Zhihui Zhang <[EMAIL PROTECTED]> Subject: Search a symbol in the source tree Date: Tue, 12 Oct 1999 10:32:00 -0400 (EDT) Message-ID: <[EMAIL PROTECTED]> zzhang> zzhang> Can anyone suggest me a way of searching symbols in the entire /usr/src zzhang> tree? I normally use grep */*. But grep does not work recursively, right? zzhang> Something like a small shell script may do this. Thanks a lot. It seems queer to me that there has been none who has refered to find - exec pairs. You may type into shell like; $find . -name "*.c" -print -exec "egrep" "-i" "idt" {} \; | less Here , "idt" is a search string. Teddy Furuya <[EMAIL PROTECTED]> 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 古谷 哲郎
- Re: Search a symbol in the source tree 古谷 哲郎
- Re: Search a symbol in the source tree Warner Losh