From: Jim Meyering Date: Mon, 4 Oct 2021 03:06:35 +0000 (-0700) Subject: maint: don't use obsolescent "egrep" X-Git-Tag: v1.16.5~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5389f1116ddd47a5b3a74f337152b54133429a92;p=thirdparty%2Fautomake.git maint: don't use obsolescent "egrep" * maintainer/syntax-checks.mk (sc_perl_local): Use grep -E in place of "egrep". --- diff --git a/maintainer/syntax-checks.mk b/maintainer/syntax-checks.mk index 56f853888..6b7ec020f 100644 --- a/maintainer/syntax-checks.mk +++ b/maintainer/syntax-checks.mk @@ -230,7 +230,7 @@ sc_perl_at_uscore_in_scalar_context: ## Allow only few variables to be localized in automake and aclocal. sc_perl_local: - @if egrep -v '^[ \t]*local \$$[_~]( *=|;)' \ + @if grep -Ev '^[ \t]*local \$$[_~]( *=|;)' \ $(automake_in) $(aclocal_in) | \ grep '^[ \t]*local [^*]'; then \ echo "Please avoid 'local'." 1>&2; \