Package: gzip
Version: 1.6-4
Severity: normal
File: /bin/zgrep

zgrep appears to capture and process the output of grep, rather than
sending it directly to the terminal, so zgrep --color=auto does not
work.  zgrep --color=always does work, but that would break cases where
zgrep's output doesn't go to a terminal.

One possible fix would be to look for --color=auto and handle that
internally to zgrep, by checking [ -t 1 ] (stdout goes to a terminal)
and passing --color=always to grep if so.

- Josh Triplett

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.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.1
ii  install-info  6.0.0.dfsg.1-3
ii  libc6         2.19-19

gzip recommends no packages.

Versions of packages gzip suggests:
ii  less  458-3

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to