Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grep warning: obsolescent (g)egrep #2031

Closed
FraBle opened this issue Jan 21, 2023 · 1 comment · Fixed by #2043
Closed

grep warning: obsolescent (g)egrep #2031

FraBle opened this issue Jan 21, 2023 · 1 comment · Fixed by #2043

Comments

@FraBle
Copy link

FraBle commented Jan 21, 2023

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

  1. Upgrade grep/ggrep
  2. Execute any command with gnu-utility loaded via zstyle ':prezto:load' pmodule

Versions

  • Prezto commit: a4ca9243109a2a03a844afc93a1d4d3212752f15
  • ZSH version: zsh 5.9 (arm-apple-darwin21.3.0)
  • OS information: macOS Monterrey (12.6.2)
@jeffwidman
Copy link
Collaborator

Care to submit a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants