Bug 155703 - Alias grep --color
Summary: Alias grep --color
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-04-22 13:02 UTC by Behdad Esfahbod
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-04-22 13:05:38 UTC
Type: ---

Attachments (Terms of Use)

Description Behdad Esfahbod 2005-04-22 13:02:32 UTC
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 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.

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