Thank you for taking the time to report this bug and helping to make
Ubuntu better.

It took me a while to find this out -- it really looks weird! The solution is 
quite simple, though: In the standard ~/.bashrc you find the following line:
alias grep='grep --color=auto'

GREP_OPTIONS are *prepended* to all other options. With the alias
definition, your --color option gets overridden by --color=auto every
time. Deleting this line from .bashrc or using "unalias grep" should
solve the issue for you. If it does not, please feel free to reopen this
bug report by setting the status back to "New".

** Changed in: grep (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/921154

Title:
  Ignores --color=always in GREP_OPTIONS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grep/+bug/921154/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to