Bug 1034839

Summary: [RFE] If grep is colored, z*grep should be as well
Product: [Fedora] Fedora Reporter: Cristian Ciupitu <cristian.ciupitu>
Component: gzipAssignee: Petr Stodulka <pstodulk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: jskarvad, lkundrak, mluscon, pertusus, psimerda, pstodulk
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: gzip-1.6-6.fc22 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1034631 Environment:
Last Closed: 2014-08-26 14:33:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1034847, 1034631, 1034846    
Bug Blocks:    

Description Cristian Ciupitu 2013-11-26 15:26:57 UTC
+++ This bug was initially created as a clone of Bug #1034631 +++

Description of problem:
The output of zgrep, zegrep and zfgrep should be colored by default.

Version-Release number of selected component (if applicable):
gzip-1.6-2.fc20.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. Run interactively one of the commands on a compressed file, e.g.:
	zgrep system /usr/share/man/man8/systemd-activate.8.gz

Actual results:
No colored output.

Expected results:
Colored output.

Additional info:
This command:
	zgrep --color=auto system /usr/share/man/man8/systemd-activate.8.gz
has colored output.

See original bug for details on how to implement this.