MINOR: replace deprecated egrep in kafka-run-class (#12649)
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 <4939dc725f3ef736519c99b5147829c39c24086b@gmail.com>

Reviewers: Luke Chen <a747209bc9e65a9d7dd7589245c91b7bed721b13@gmail.com>
guozhangwang/kafka,guozhangwang/kafka,apache/kafka,guozhangwang/kafka,apache/kafka,apache/kafka,guozhangwang/kafka,apache/kafka