Bug 2215713 - fgrep: warning: fgrep is obsolescent; using grep -F
Summary: fgrep: warning: fgrep is obsolescent; using grep -F
Keywords:
Status: MODIFIED
Alias: None
Product: Fedora
Classification: Fedora
Component: grep
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-17 19:21 UTC by Gabriele Turchi
Modified: 2023-08-16 08:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gabriele Turchi 2023-06-17 19:21:08 UTC
In the most cases, fgrep command is used called by the alias set in the /etc/profile.d/colorgrep.sh file.
Every time the annoying warning is shown, but could be enough to modify the fgrep alias to use the grep -F command.


Reproducible: Always

Steps to Reproduce:
1. user fgrep
2.
3.
Actual Results:  
fgrep: warning: fgrep is obsolescent; using grep -F

Comment 1 Jaroslav Škarvada 2023-07-13 15:29:37 UTC
I will fix it in rawhide, because it is change of the behavior in the critical path component which could have some undesired effects.

Comment 2 Jaroslav Škarvada 2023-07-13 15:35:12 UTC
Maybe we should drop the egrep/fgrep aliases later not to divert from upstream, but I will keep them for now.

Comment 3 Fedora Update System 2023-07-13 15:46:51 UTC
FEDORA-2023-3c7f3f9fa4 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-3c7f3f9fa4

Comment 4 Fedora Release Engineering 2023-08-16 08:15:21 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.


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