On Fri, 17 Jun 2005, Andreas Eibach wrote: > It looks that I have. > First of all, ALL version numbers of the tools I used: > > GNU find version 4.2.11 (cvs) > GNU xargs version 4.2.11 (cvs) > glib version 2.6.5 (the bug might also appear with other packages) > > [snip] > $ cd glib-2.6.5 > $ find . -name '*' | xargs grep -i 'threads_got_initialized' > out2.log > > ATTENTION. out2.log will grow and grow ... and grew more than 2 GB here, > until I got a "No space left on device".
<http://cygwin.com/acronyms/#PEBKAC>, and not Cygwin-specific, either. Of course grep would look for "threads_got_initialized" in every file in the current directory, *including out2.log*! And it'll keep appending the results to that same out2.log. > $ find . -name '*' | xargs grep -i 'threads_got_initialized' | tee out2.log > > works, though. > > Can anyone of you reproduce this behavior? HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- 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/