Looks like a regression in Precise: it was fine in Lucid. The line in question is 141 of zgrep.in, which only got the "-h" option added post gzip 1.4 (commit cc1c692e4cf115ece8391aaa5f45041065a0c64a, sSep 15th 2010).
Lucid has 1.3.12 of gzip, but gzip_1.3.12-9ubuntu1.1.diff patches zgrep to add -h to line 108 of zgrep.in. Looks like that needs to be added as a patch in the Precise build (patch attached; just add to debian/patches dir and reference in "debian/patches/series") NB: Until this makes it into a package, "--no-filename" will have the equivalent effect. ** Patch added: "Patch to zgrep.in" https://bugs.launchpad.net/ubuntu/+source/gzip/+bug/1192168/+attachment/3798494/+files/zgrep-h.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1192168 Title: zgrep does not correctly pass short options to grep To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gzip/+bug/1192168/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs