bug#21989: grep search by ASCII code unsuccessful

2015-11-23 Thread Shivanshu Goyal
Hi, I think I found a bug which did not exist in version 2.14, but does seem to exist in versions 2.16 and 2.22. I have not tested any other versions. Say there is a file with the following contents: shivanshu@thetis:tmp$ cat temp | xxd 000: 68e2 8093 680a h...h. T

bug#21989: grep search by ASCII code unsuccessful

2015-11-23 Thread Stephane Chazelas
2015-11-22 21:24:05 -0800, Shivanshu Goyal: [...] > I think I found a bug which did not exist in version 2.14, but does seem to > exist in versions 2.16 and 2.22. I have not tested any other versions. > > Say there is a file with the following contents: > > shivanshu@thetis:tmp$ cat temp | xxd >

bug#21989: grep search by ASCII code unsuccessful

2015-11-23 Thread Paul Eggert
Thanks, Stephane, for diagnosing the problem. Closing the bug.

bug#21989: grep search by ASCII code unsuccessful

2015-11-23 Thread Shivanshu Goyal
Correction: The following is the grep 2.16/2.22 command and output: (It doesn't output anything) shivanshu@thetis:tmp$ cat temp | grep -P '\xe2\x80\x93' shivanshu@thetis:tmp$ On Sun, Nov 22, 2015 at 9:24 PM Shivanshu Goyal wrote: > Hi, > > I think I found a bug which did not exist in version 2