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

Phase out egrep since it triggers warnings on grep version >= 3.8 #98

Open
hbrown-uiowa opened this issue Jun 29, 2023 · 0 comments
Open

Comments

@hbrown-uiowa
Copy link

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: all
  • Ruby: all
  • Distribution: any distro with grep >= 3.8 (Fedora 38 in particular)
  • Module version: all

How to reproduce (e.g Puppet code you use)

Run the script /opt/puppetlabs/pe_patch/pe_patch_fact_generation.sh on a distro with grep >= 3.8

What are you seeing

egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E

What behaviour did you expect instead

No output

Output log

Any additional information you'd like to impart

Since we have the script running in a cron job, we do get multiple emails per day per system. It adds up.

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

No branches or pull requests

1 participant