From 5389f1116ddd47a5b3a74f337152b54133429a92 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 3 Oct 2021 20:06:35 -0700 Subject: maint: don't use obsolescent "egrep" * maintainer/syntax-checks.mk (sc_perl_local): Use grep -E in place of "egrep". --- maintainer/syntax-checks.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \ -- cgit v1.2.1