This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes

Bug 155703

Summary: Alias grep --color
Product: [Fedora] Fedora Reporter: Behdad Esfahbod <behdad>
Component: coreutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-22 09:05:38 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Behdad Esfahbod 2005-04-22 09:02:32 EDT
Description of problem:


alias grep='grep --color'

That's awesome and goes nice with ls.
Control over the color is possible through the $GREP_COLOR var.  See man grep.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. grep Fedora /etc/issue
Actual results:
I see the line: 
Fedora Core release 3 (Heidelberg)

Expected results:
The "Fedora" in the line should be highlighted red.

Additional info:
I can provide a patch if that helps faster resolution.
Comment 1 Tim Waugh 2005-04-22 09:05:38 EDT
Definitely not.
Comment 2 Behdad Esfahbod 2005-04-22 09:08:09 EDT
Any reason for that?  It's definitely providing extra functionality, and it's
auto, turns off if not pointing to terminal.
Comment 3 Tim Waugh 2005-04-22 09:23:54 EDT
It's not providing extra functionality, it's just changing a default.  Anyone
who wants to do this on their own machine can do so very easily.

If *we* change the default *for* them, there will be complaints, and I will have
to deal with them.

Not happening.