Bug 155703 - Alias grep --color
Alias grep --color
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: coreutils (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-22 09:02 EDT by Behdad Esfahbod
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
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: ---


Attachments (Terms of Use)

  None (edit)
Description Behdad Esfahbod 2005-04-22 09:02:32 EDT
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 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.

Note You need to log in before you can comment on or make changes to this bug.