bug#48680: "zgrep -q" failing with some large files

2021-05-26 Thread David Yoder
I've run into a problem with zgrep -q. On some large bz2 compressed files it returns false/error for a search that should have returned true. bzgrep and "bzip2 -cd | grep -q" both work as expected. Either "-q or -l" are required to show the problem. I suspect that grep is terminating at the fir

bug#48680: "zgrep -q" failing with some large files

2021-05-26 Thread Paul Eggert
What platform are you running on? Who built zgrep and gzip on your platform? In what directories are the zgrep and gzip executables? What is the output of "gzip --version"? What is the output of the following shell command? unset BASH_ENV; bash -x ./zgrep -q fox synthetic.log.bz2 Here's the