Skip to content

Conversation

@clcollins
Copy link

@clcollins clcollins commented Aug 1, 2023

egrep is listed as deprecated and in Fedora 38, is outputting the message "warning: egrep is obsolescent". According to #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 #431

Signed-off-by: Chris Collins [email protected]

@BenKnigge
Copy link
Contributor

please resolve conflicts

@clcollins
Copy link
Author

Apologies @BenKnigge , I missed your message. I've rebased and fixed the conflict.

`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]>
@dannywillems
Copy link

I'm in favor of having this merged.

@sergio222-dev
Copy link

is this going to be merged?

djylb added a commit to djylb/gvm that referenced this pull request Sep 15, 2025
Replaces egrep with grep -E in gvm_export_path function
moovweb#432
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 this pull request may close these issues.

Fedora 38: "warning: egrep is obsolescent"

4 participants