Package: gzip Version: 1.6-5+b1 Followup-For: Bug #854878 Dear Maintainer,
I can confirm what the previous bug reporter said. It is definitely a bug. You can test it like so: $ touch binary-star $ zgrep signal binary-star /bin/zgrep: 75: /bin/zgrep: 1: binary-star option requires an argument Looking at the man page for grep(1), it's clear that the --binary-files option (and perhaps future --binary-* options) was what the script was trying to emulate, but the programmer simply forgot the "--" prefix. Here is a patch that fixes the problem. --- zgrep.orig 2016-03-14 13:41:45.000000000 -0700 +++ zgrep 2017-12-23 14:19:39.474801871 -0800 @@ -71,7 +71,7 @@ option=$(expr "X$option" : 'X\(-.[0-9]*\)');; (--binary-*=* | --[lm]a*=* | --reg*=*) ;; - (-[ABCDXdefm] | binary-* | --file | --[lm]a* | --reg*) + (-[ABCDXdefm] | --binary-* | --file | --[lm]a* | --reg*) case ${1?"$option option requires an argument"} in (*\'*) optarg=" '"$(printf '%s\n' "$1" | sed "$escape");; Thanks. -- System Information: Debian Release: 9.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages gzip depends on: ii dpkg 1.18.24 ii install-info 6.3.0.dfsg.1-1+b2 ii libc6 2.24-11+deb9u1 gzip recommends no packages. Versions of packages gzip suggests: ii less 481-2.1 -- no debconf information