Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: grep resistance
- To: tlug@example.com
- Subject: Re: grep resistance
- From: Tod McQuillin <devin@example.com>
- Date: Sat, 4 Nov 2000 21:00:59 -0600 (CST)
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- In-Reply-To: <14852.52468.685931.725863@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <LpqJdB.A.ilD.sFNB6@example.com>
- Resent-Sender: tlug-request@example.com
On Sun, 5 Nov 2000, Viktor Pavlenko wrote: > >>>>> On Sat, 4 Nov 2000 11:03:25 -0600 (CST), Tod McQuillin <devin@example.com> said: > > TM> find . -type f -print0 | xargs -0 grep -n -C STRING > > Or, if you (like me :) can never remember how to use xargs: > > grep -n -C STRING `find . -type f` Sure, but the original poster's problem was 'command line too long', so this doesn't help in that case. When there are more files involved than can fit in an argv, xargs is pretty much a necessity. -- Tod McQuillin
- References:
- Re: grep resistance
- From: Viktor Pavlenko <vp@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: grep resistance
- Next by Date: Re: Encrypted PDF
- Prev by thread: Re: grep resistance
- Next by thread: Re: grep resistance
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links