replace egrep with grep -E

This commit is contained in:
Juergen E. Fischer 2022-10-13 11:51:34 +02:00
parent a3b4ff37a3
commit 31426e13d5

View File

@ -63,7 +63,7 @@ shift $((OPTIND - 1))
if [ $# -ne 0 ]; then
EXCLUDE=$(${GP}sed -e 's/\s*#.*$//' -e '/^\s*$/d' $AGIGNORE | tr '\n' '|' | ${GP}sed -e 's/|$//')
INPUTFILES=$(echo "$@" | tr -s '[[:blank:]]' '\n' | ${GP}egrep -iv "$EXCLUDE" | tr '\n' ' ' )
INPUTFILES=$(echo "$@" | tr -s '[[:blank:]]' '\n' | ${GP}grep -Eiv "$EXCLUDE" | tr '\n' ' ' )
if [[ -z $INPUTFILES ]]; then
exit 0
fi