Re: xargs gives grep/gawk too much

2006-12-13 Thread Christopher Faylor
On Wed, Dec 13, 2006 at 02:17:56PM -0500, Buchbinder, Barry (NIH/NIAID) [E] wrote: >Christopher Faylor wrote on Sunday, December 10, 2006 1:34 AM: >>On Sun, Dec 10, 2006 at 01:21:19AM -0500, Christopher Faylor wrote: >>>On Sat, Dec 09, 2006 at 11:31:05AM -0800, Karr, David wrote: If the point

RE: xargs gives grep/gawk too much

2006-12-13 Thread Buchbinder, Barry \(NIH/NIAID\) [E]
Christopher Faylor wrote on Sunday, December 10, 2006 1:34 AM: > On Sun, Dec 10, 2006 at 01:21:19AM -0500, Christopher Faylor wrote: >> On Sat, Dec 09, 2006 at 11:31:05AM -0800, Karr, David wrote: >>> If the point of this note is to get your pipeline to work, would it >>> help if you added somethi

Re: xargs gives grep/gawk too much

2006-12-09 Thread Christopher Faylor
On Sun, Dec 10, 2006 at 01:21:19AM -0500, Christopher Faylor wrote: >On Sat, Dec 09, 2006 at 11:31:05AM -0800, Karr, David wrote: >>If the point of this note is to get your pipeline to work, would it help >>if you added something like "-n 30" to the xargs command? This should >>execute one instanc

Re: xargs gives grep/gawk too much

2006-12-09 Thread Christopher Faylor
On Sat, Dec 09, 2006 at 11:31:05AM -0800, Karr, David wrote: >If the point of this note is to get your pipeline to work, would it help >if you added something like "-n 30" to the xargs command? This should >execute one instance of 'grep -l -e "error '1234567890'"' for every 30 >lines of output fro

RE: xargs gives grep/gawk too much

2006-12-09 Thread Karr, David
D] > [mailto:[EMAIL PROTECTED] On Behalf Of Buchbinder, > Barry (NIH/NIAID) [E] > Sent: Friday, December 08, 2006 10:05 AM > To: cygwin@cygwin.com > Subject: xargs gives grep/gawk too much > > I get the following error message: > xargs: grep: Argument list too lon

Re: xargs gives grep/gawk too much

2006-12-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 12/8/2006 1:53 PM: > It looks like you are picking up the cygwin version of grep/gawk, so I'm not > sure why you are getting a failure. As it is, I think there might be a regression in cygwin's handling of arbitrary length

Re: xargs gives grep/gawk too much

2006-12-08 Thread Eric Blake
Buchbinder, Barry (NIH/NIAID) [E] niaid.nih.gov> writes: > > I get the following error message: > xargs: grep: Argument list too long > I've also gotten an equivalent error from xargs/gawk. It looks like you are picking up the cygwin version of grep/gawk, so I'm not sure why you are gett

xargs gives grep/gawk too much

2006-12-08 Thread Buchbinder, Barry \(NIH/NIAID\) [E]
I get the following error message: xargs: grep: Argument list too long I've also gotten an equivalent error from xargs/gawk. Of course, the whole idea of xargs is to avoid this error. If I'm doing something wrong, I'd appreciate some hints of what I am doing wrong or how to avoid this (ot