bug#33552: grep patches for "Binary file FOO matches" glitches

2020-09-17 Thread Paul Eggert
Attached are two related 'grep' patches, one prompted by Bug#33552 "Possible bug with handling -I option" and the other by Bug#29668 "grep: Fatal problem with (big) file". Although I'd normally install these on grep master, Jim has started the ball rolling on the next grep release so I'll cc thi

bug#33552: grep patches for "Binary file FOO matches" glitches

2020-09-17 Thread Jim Meyering
On Thu, Sep 17, 2020 at 11:46 AM Paul Eggert wrote: > Attached are two related 'grep' patches, one prompted by Bug#33552 "Possible > bug > with handling -I option" and the other by Bug#29668 "grep: Fatal problem with > (big) file". Although I'd normally install these on grep master, Jim has > st

bug#33552: bug#29668: grep patches for "Binary file FOO matches" glitches

2020-09-17 Thread Paul Eggert
On 9/17/20 3:03 PM, Jim Meyering wrote: The alternative is to change that "B" to a "b", which should be fine, now that it's only emitted to stderr. Makes sense. NEWS should be updated accordingly - but when I looked into doing that I came up with the attached more-elaborate patch, which chang