Re: Odd grep bug

2011-08-03 Thread Paul Eggert
That is indeed an odd bug, and I can't reproduce it on my RHEL 5.6 (x86-64) host. Here's a transcript of what I did to try to reproduce it: $ export LC_ALL=C $ mkdir d $ echo TRDXST >d/f $ grep -ra2 TRDXST * | grep -v svn d/f:TRDXST If you can come up with a self-contained recipe to reproduce th

Odd grep bug

2011-08-03 Thread Carlson, Benjamin P CW2 NG NG NGB
I have found an odd bug that only occurs in a very specific situation (unfortunately it is a situation I run into a lot): Using Red Hat REL with kernel: 2.6.18-92.1.6.el5 #1 SMP and grep (GNU grep) 2.5.1 grep fails a search when the following 4 situations occur simultaneously: 1) using –r optio