[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[automake-commit] 02/03: maint: don't use obsolescent "egrep"
From: |
Jim Meyering |
Subject: |
[automake-commit] 02/03: maint: don't use obsolescent "egrep" |
Date: |
Sun, 03 Oct 2021 23:23:56 -0400 |
meyering pushed a commit to branch master
in repository automake.
View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=5389f1116ddd47a5b3a74f337152b54133429a92
commit 5389f1116ddd47a5b3a74f337152b54133429a92
Author: Jim Meyering <meyering@fb.com>
AuthorDate: Sun Oct 3 20:06:35 2021 -0700
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 56f8538..6b7ec02 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; \