grep warning: obsolescent (g)egrep
FraBle opened this issue · comments
Frank Blechschmidt commented
Description
Observed warning when opening a new terminal or executing a command:
gegrep: warning: gegrep is obsolescent; using ggrep -E
This appears to be caused by gnu-utility
and must have started with a recent grep upgrade.
➜ ~ grep --version
grep (BSD grep, GNU compatible) 2.6.0-FreeBSD
➜ ~ ggrep --version
ggrep (GNU grep) 3.8
Packaged by Homebrew
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Haertel and others; see
<https://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>.
➜ ~
Expected behavior
No warning
Actual behavior
gegrep: warning: gegrep is obsolescent; using ggrep -E
Steps to Reproduce
- Upgrade grep/ggrep
- Execute any command with
gnu-utility
loaded viazstyle ':prezto:load' pmodule
Versions
- Prezto commit:
a4ca9243109a2a03a844afc93a1d4d3212752f15
- ZSH version:
zsh 5.9 (arm-apple-darwin21.3.0)
- OS information: macOS Monterrey (12.6.2)
Jeff Widman commented
Care to submit a PR?