On Sun, Aug 23, 2015 at 10:20 PM, Peng Yu <pengyu...@gmail.com> 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