Subject: Re: bug#21335: --color does not work for zgrep?

From: Jim Meyering <[email-masked]>
Date: Mon, 24 Aug 2015 09:22:54 -0700

On Sun, Aug 23, 2015 at 10:20 PM, Peng Yu <[email-masked]> wrote:
> Hi, It seems that --color does not work for zgrep. Has anybody seen
> the same problem? Is there a way to fix it?

It works for me (i.e., when I do this, the "a" in "cat" is highlighted in red):

  $ echo cat|zgrep --color a
  cat

Please read the following and take its advice before replying with
more information:
http://www.catb.org/esr/faqs/smart-questions.html

You have included no information that could help us help you.
 - version of zgrep
 - version of grep
 - type of terminal
 - type of system
 - command you typed and what it output