Bug 1173924

Summary: Grep function for fish shell outputs GREP_OPTIONS warning
Product: [Fedora] Fedora Reporter: Dan Book <grinnz>
Component: fishAssignee: Andy Lutomirski <luto>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 21CC: jaswinder, luto, oliver
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fish-2.1.1-2.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-19 18:31:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Book 2014-12-14 05:10:48 UTC
Description of problem:
Whenever grep is used in the fish shell, it outputs the warning:
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script

This seems to be due to the function defined in /usr/share/fish/functions/grep.fish which sets GREP_OPTIONS to --color=auto.

Version-Release number of selected component (if applicable):
fish-2.1.1-1.fc21.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install fish shell
2. Run any grep command

Actual results:
Warning is output

Expected results:
No warning

Comment 1 Andy Lutomirski 2014-12-14 19:17:05 UTC
Thanks for the report.  I'm building updated rpms now.

Comment 2 Fedora Update System 2014-12-14 19:30:23 UTC
fish-2.1.1-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/fish-2.1.1-2.fc21

Comment 3 Fedora Update System 2014-12-17 04:43:49 UTC
Package fish-2.1.1-2.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fish-2.1.1-2.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-17077/fish-2.1.1-2.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-12-19 18:31:42 UTC
fish-2.1.1-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.