Bash-it / bash-it

A community Bash framework.
MIT License
14.31k stars 2.29k forks source link

Replace egrep with grep -E #2167

Closed dracorp closed 2 years ago

dracorp commented 2 years ago

Description

This change replace egrep with grep -E.

Motivation and Context

To prevent a warning:

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

How Has This Been Tested?

None

Screenshots (if appropriate):

Types of changes

Checklist:

davidpfarrell commented 2 years ago

Hi ! Thanks for taking the time and effort to make bash-it better !

Wondering if you've seen my similar PR:

And this discussion on the egrep fiasco:

I'll try to take a pass and see if you caught anything I missed in my PR.

Thanks again !

-Dave

davidpfarrell commented 2 years ago

OK I compared the two PRs and I think my PR captures all of these changes, and a few others ...

dracorp commented 2 years ago

@davidpfarrell Yes, I agree. Thanks.