RE : Re: bash, find | xargs grep

2006-03-16 Thread Louis Lecaroz
>>Bob, I don't know the source of your trouble, but as a workaround consider >>running grep -r instead of find | xargs grep. In many cases it's equivalent >>or almost as good, and it probably will avoid all of the forking that's >>causing trouble for you. A. In the case of talking about the memor

Re: bash, find | xargs grep

2006-03-15 Thread Andrew Schulman
> I've been doing "find | xargs grep" types of things Bob, I don't know the source of your trouble, but as a workaround consider running grep -r instead of find | xargs grep. In many cases it's equivalent or almost as good, and it probably will avoid all of the forking that's causing trouble for

RE: bash, find | xargs grep

2006-03-15 Thread Louis Lecaroz
>I wish that fork would fail with errno set, so that bash's error message >is not so confusing; but that is besides the point. Running out of memory >during forks is not a bug in bash, find, or xargs, but a limitation of >Windows. If anyone has ideas on how to reduce the frequency of fork >fail

Re: bash, find | xargs grep

2006-03-14 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to bob knob on 3/14/2006 3:28 PM: > > I've been doing "find | xargs grep" types of things > for a long time with no problem, but I just started > working at a new job with a new computer onto which > I've downloaded the latest Cygwin. Most

RE: bash, find | xargs grep

2006-03-14 Thread Gary R. Van Sickle
> Hi: > > (tried posting this to the comp.windows.cygwin usenet group > and got no response, so) > There's a comp.windows.cygwin USENET group? When did that happen? -- Gary R. Van Sickle -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://c

Re: bash, find | xargs grep

2006-03-14 Thread Christopher Faylor
On Tue, Mar 14, 2006 at 02:28:40PM -0800, bob knob wrote: >Any ideas why this started happening to me? Antivirus? cgf > > 5 [main] bash 4800 >C:\Programs\Cygwin\bin\bash.exe: *** fatal error - >fork: can't reserve memory for stack 0x23E890 - 0 >x24, Win32 error 487 > 2520 [main] ba

bash, find | xargs grep

2006-03-14 Thread bob knob
Hi: (tried posting this to the comp.windows.cygwin usenet group and got no response, so) I've been doing "find | xargs grep" types of things for a long time with no problem, but I just started working at a new job with a new computer onto which I've downloaded the latest Cygwin. I like gre