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

[bug]: egrep is deprecated and grep issues warnings as such #12

Open
kaymmm opened this issue Sep 10, 2022 · 0 comments
Open

[bug]: egrep is deprecated and grep issues warnings as such #12

kaymmm opened this issue Sep 10, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@kaymmm
Copy link

kaymmm commented Sep 10, 2022

Describe the bug

As of grep v3.8, grep now issues a warning every time egrep is invoked.

The release notes state:

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.

Every time egrep is invoked in zinit, the command issues the warning egrep: warning: egrep is obsolescent; using grep -E

Steps to reproduce

  1. Open a terminal window or run a zinit command
  2. Receive warnings every time egrep is executed within zinit

Expected behavior

No warning is issued and egrep is replaced internally with grep -E

Screenshots and recordings

Screenshot_20220910_080006

Operating System & Version

linux-gnu | pc | x86_64 | x86_64 | x86_64 unknown

Zsh version

zsh 5.9 (x86_64-pc-linux-gnu)

Terminal emulator

xterm-kitty

If using WSL on Windows, which version of WSL

No response

Additional context

Applicable for grep >= v3.8 released September 3, 2022

@kaymmm kaymmm added the bug Something isn't working label Sep 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant