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

Fedora 38: "warning: egrep is obsolescent" #431

Open
kisamoto opened this issue Jun 26, 2023 · 2 comments · May be fixed by #432
Open

Fedora 38: "warning: egrep is obsolescent" #431

kisamoto opened this issue Jun 26, 2023 · 2 comments · May be fixed by #432

Comments

@kisamoto
Copy link

kisamoto commented Jun 26, 2023

Getting the following when using gvm on Fedora 38: egrep:

warning: egrep is obsolescent; using grep -E

This was a change made in September 2022 in version GNU Grep 3.8+

Edit: Reading the official release notes for Grep 3.8, egrep seems to be deprecated since 2007 so it should be fairly safe to replace these and maintain backwards compatability.

clcollins added a commit to clcollins/gvm that referenced this issue Aug 1, 2023
`egrep` is listed as deprecated and in Fedora 38, is outputting the message "warnin: egrep is obsolescent". According to moovweb#431, the official release notes from Grep 3.8 state egrep has been deprecated since 2007.

This PR replaces `egrep` in gvm_export_path with `grep -E`.

`egrep` is mentioned in a couple of the files in `./examples/native/`, but as I don't think they're critical to the use of GVM, I have not attempted to replace them.

Fixes moovweb#431

Signed-off-by: Chris Collins <[email protected]>
@ankitcharolia
Copy link

@kisamoto kindly try this GO Version Manager: https://github.com/ankitcharolia/goenv

@adonespitogo
Copy link

Having this same problem. The submitted PR needs to be fixed (conflicts).

clcollins added a commit to clcollins/gvm that referenced this issue Sep 20, 2023
`egrep` is listed as deprecated and in Fedora 38, is outputting the message "warnin: egrep is obsolescent". According to moovweb#431, the official release notes from Grep 3.8 state egrep has been deprecated since 2007.

This PR replaces `egrep` in gvm_export_path with `grep -E`.

`egrep` is mentioned in a couple of the files in `./examples/native/`, but as I don't think they're critical to the use of GVM, I have not attempted to replace them.

Fixes moovweb#431

Signed-off-by: Chris Collins <[email protected]>
clcollins added a commit to clcollins/gvm that referenced this issue Sep 20, 2023
`egrep` is listed as deprecated and in Fedora 38, is outputting the message "warnin: egrep is obsolescent". According to moovweb#431, the official release notes from Grep 3.8 state egrep has been deprecated since 2007.

This PR replaces `egrep` in gvm_export_path with `grep -E`.

`egrep` is mentioned in a couple of the files in `./examples/native/`, but as I don't think they're critical to the use of GVM, I have not attempted to replace them.

Fixes moovweb#431

Signed-off-by: Chris Collins <[email protected]>
clcollins added a commit to clcollins/gvm that referenced this issue Sep 20, 2023
`egrep` is listed as deprecated and in Fedora 38, is outputting the message "warnin: egrep is obsolescent". According to moovweb#431, the official release notes from Grep 3.8 state egrep has been deprecated since 2007.

This PR replaces `egrep` in gvm_export_path with `grep -E`.

`egrep` is mentioned in a couple of the files in `./examples/native/`, but as I don't think they're critical to the use of GVM, I have not attempted to replace them.

Fixes moovweb#431

Signed-off-by: Chris Collins <[email protected]>
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.

3 participants