MINOR: replace deprecated egrep in kafka-run-class
The egrep is deprecated in 2007 and be replaced with grep -E
Reviewers: Luke Chen
@@ -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
