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

use grep -E instead of egrep if possible #1424

Merged
merged 1 commit into from
Aug 7, 2023
Merged

Conversation

xambroz
Copy link

@xambroz xambroz commented Jul 30, 2023

Hello,
recent /usr/bin/egrep on Linux systems is throwing annoying warning that egrep is obsolete and that grep -E is used instead.
To avoid this warning the EGREPBINARY is set to "${GREPBINARY} -E" if it has extended regexp in the "--help"
Best regards
Michal Ambroz

@konstruktoid
Copy link
Contributor

#1338

@mboelen
Copy link
Member

mboelen commented Aug 7, 2023

I have this feeling this will break on something like Solaris. Most likely --help is not even supported by those older implementations. At the same time, we have to move forward, so I will merge this.

@mboelen mboelen merged commit e816df5 into CISOfy:master Aug 7, 2023
@mboelen mboelen self-assigned this Aug 7, 2023
@D3vil0p3r
Copy link
Contributor

@mboelen The latest lynis stable version does not contain this warning fix, right?

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

Successfully merging this pull request may close these issues.

4 participants