Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881353 - sys-boot/grub using obsolete fgrep
Summary: sys-boot/grub using obsolete fgrep
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
Depends on:
Reported: 2022-11-14 23:24 UTC by Thomas Capricelli
Modified: 2022-11-15 21:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2022-11-14 23:24:22 UTC
When using (for ex) grub-mkconfig, i got a bunch of warnings like:
fgrep: warning: fgrep is obsolescent; using /bin/grep -F

Using this command:

  equery files grub | xargs grep fgrep -l

, i can only find two files installed by grub, that uses fgrep:


Reproducible: Always
Comment 1 Nils Freydank 2022-11-15 20:34:42 UTC
Quoting from grep-3.8 release notes,

"The egrep and fgrep commands, which have been deprecated since
  release 2.5.3 (2007), now warn that they are obsolescent and should
  be replaced by grep -E and grep -F."
Comment 2 Mike Gilbert gentoo-dev 2022-11-15 21:55:41 UTC
This has been fixed upstream. I do not plan to backport the fix.