GNU bug report logs - #21335
--color does not work for zgrep?

Previous Next

Package: gzip;

Reported by: Peng Yu <pengyu.ut <at> gmail.com>

Date: Mon, 24 Aug 2015 05:21:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21335 in the body.
You can then email your comments to 21335 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gzip <at> gnu.org:
bug#21335; Package gzip. (Mon, 24 Aug 2015 05:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peng Yu <pengyu.ut <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gzip <at> gnu.org. (Mon, 24 Aug 2015 05:21:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Peng Yu <pengyu.ut <at> gmail.com>
To: bug-gzip <at> gnu.org
Subject: --color does not work for zgrep?
Date: Mon, 24 Aug 2015 00:20:33 -0500
Hi, It seems that --color does not work for zgrep. Has anybody seen
the same problem? Is there a way to fix it?

-- 
Regards,
Peng




Information forwarded to bug-gzip <at> gnu.org:
bug#21335; Package gzip. (Mon, 24 Aug 2015 16:22:01 GMT) Full text and rfc822 format available.

Message #8 received at 21335 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Peng Yu <pengyu.ut <at> gmail.com>, 21335 <at> debbugs.gnu.org
Subject: Re: bug#21335: --color does not work for zgrep?
Date: Mon, 24 Aug 2015 09:21:34 -0700
Peng Yu 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 with zgrep 1.6, e.g. "zgrep --color root /etc/passwd" shows the 
matches in color.  It didn't work in older versions of gzip.  What does "zgrep 
--version" say?  If zgrep --color is failing for you in 1.6, can you give a 
recipe for reproducing the failure?




Information forwarded to bug-gzip <at> gnu.org:
bug#21335; Package gzip. (Mon, 24 Aug 2015 16:24:02 GMT) Full text and rfc822 format available.

Message #11 received at 21335 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Peng Yu <pengyu.ut <at> gmail.com>
Cc: 21335 <at> debbugs.gnu.org
Subject: Re: bug#21335: --color does not work for zgrep?
Date: Mon, 24 Aug 2015 09:22:54 -0700
On Sun, Aug 23, 2015 at 10:20 PM, Peng Yu <pengyu.ut <at> 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




bug closed, send any further explanations to 21335 <at> debbugs.gnu.org and Peng Yu <pengyu.ut <at> gmail.com> Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Wed, 11 May 2016 23:35:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 09 Jun 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.