Bug 2215713

Summary: fgrep: warning: fgrep is obsolescent; using grep -F
Product: [Fedora] Fedora Reporter: Gabriele Turchi <turchi>
Component: grepAssignee: Jaroslav Škarvada <jskarvad>
Status: MODIFIED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 39CC: jskarvad, kasal, lkundrak
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.