This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bash, find | xargs grep


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 grep & egrep & fgrep and so on just fine, but I
have some #!/bin/bash scripts of my own that add some
enhancements. So I use them in place of "grep". I've
done this in the past with no trouble, but on the new
box, I get the mess of errors listed at the end of
this post. I am actually getting some output from my
scripts as well, but I think xargs is starting
multiple processes and several of them are failing
while others do not. In some cases, the scripts do
nothing more than fill in some default parameters for
grep - the code is really innocent stuff. 

Any ideas why this started happening to me? 


      5 [main] bash 4800
C:\Programs\Cygwin\bin\bash.exe: *** fatal error -
fork: can't reserve memory for stack 0x23E890 - 0 
x240000, Win32 error 487 
   2520 [main] bash 4880 child_copy: stack write copy
failed, 
0x23E890..0x240000, done 0, windows pid 2353092, Win32
error 5 
/c/MyCode/mygrep: fork: No error 
      5 [main] bash 4900
C:\Programs\Cygwin\bin\bash.exe: *** fatal 
error - fork: can't reserve memory for stack 0x23E890
- 0 
x240000, Win32 error 487 
    655 [main] bash 4840 child_copy: stack write copy
failed, 
0x23E890..0x240000, done 0, windows pid 2353092, Win32
error 5 
/c/MyCode/mygrep: fork: No error 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]