Bug 1173924 - Grep function for fish shell outputs GREP_OPTIONS warning
Summary: Grep function for fish shell outputs GREP_OPTIONS warning
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fish
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Andy Lutomirski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-14 05:10 UTC by Dan Book
Modified: 2014-12-19 18:31 UTC (History)
3 users (show)

Fixed In Version: fish-2.1.1-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-19 18:31:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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