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   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-22 13:05:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Behdad Esfahbod 2005-04-22 13:02:32 UTC
Description of problem:

Please:

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):
coreutils-5.2.1-31

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 13:05:38 UTC
Definitely not.

Comment 2 Behdad Esfahbod 2005-04-22 13:08:09 UTC
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 13:23:54 UTC
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.