From 7df596a58cdfa763924487b8c275269de3497304 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 5 Jun 2022 12:09:02 -0700 Subject: grep: egrep -> grep -E, fgrep -> grep -F Newer versions of GNU grep (after grep 3.7, not inclusive) will warn on 'egrep' and 'fgrep' invocations. Convert usages within the tree to their expanded non-aliased counterparts to avoid irritating warnings during ./configure and the test suite. Signed-off-by: Sam James Reviewed-by: Fangrui Song --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a9722a161c..179dd478ff 100644 --- a/Makefile +++ b/Makefile @@ -565,10 +565,10 @@ $(objpfx)check-wrapper-headers.out: scripts/check-wrapper-headers.py $(headers) endif # $(headers) define summarize-tests -@egrep -v '^(PASS|XFAIL):' $(objpfx)$1 || true +@grep -E -v '^(PASS|XFAIL):' $(objpfx)$1 || true @echo "Summary of test results$2:" @sed 's/:.*//' < $(objpfx)$1 | sort | uniq -c -@! egrep -q -v '^(X?PASS|XFAIL|UNSUPPORTED):' $(objpfx)$1 +@! grep -E -q -v '^(X?PASS|XFAIL|UNSUPPORTED):' $(objpfx)$1 endef # The intention here is to do ONE install of our build into the -- cgit 1.4.1