C warning that I can't seem to track down
Chris F.A. Johnson
cfaj-uVmiyxGBW52XDw4h08c5KA at public.gmane.org
Wed Aug 9 15:06:48 UTC 2006
On Wed, 9 Aug 2006, Mel Wilson wrote:
> Chris F.A. Johnson wrote:
>> On Wed, 9 Aug 2006, Mel Wilson wrote:
>> > Found this with a little Python thing that scrambles through
>> > the directory tree finding strings in files.
>>
>> Python???
>>
>> What's wrong with 'grep -r'?
>
> It's what I do best. AND 'grep -r' isn't listed in
> _Linux in a Nutshell_ (note to self -- what's up with that?)
Even without the -r option, you don't need Python:
find /usr/include -type f -print0 | xargs -0 grep PATTERN /dev/null
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list