MINOR: replace deprecated egrep in kafka-run-class (#12649)

The egrep is deprecated in 2007 and be replaced with grep -E

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>

Reviewers: Luke Chen <showuon@gmail.com>
This commit is contained in:
Matthew Stidham 2022-09-15 23:32:53 -07:00 committed by GitHub
parent b09cadcaa7
commit fdcde1fb78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ should_include_file() {
return 0
fi
file=$1
if [ -z "$(echo "$file" | egrep "$regex")" ] ; then
if [ -z "$(echo "$file" | grep -E "$regex")" ] ; then
return 0
else
return 1