Package: gzip Version: 1.6-5 Severity: normal Given multiple files, zgrep's return value is inconsistent with grep:
$ echo foo > a $ true > b $ grep -q foo a b; echo $? 0 $ zgrep -q foo a b; echo $? 1 That is: grep succeeds, because at least one file contains a match. But: zgrep fails, because at least one file does _not_ contain a match. The grep behavior is far more useful.