From 7b9df7164c2576d41e485dc43636da0f55613024 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Tue, 30 Jan 2024 17:51:35 +0100 Subject: [PATCH] Use "grep -E" instead of deprecated "egrep" --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index ade6dbe469..82460d9956 100644 --- a/Makefile.am +++ b/Makefile.am @@ -64,11 +64,11 @@ DISTCLEANFILES = libgphoto2/gphoto2-endian.h source-code-check: @echo "######## Finding // comments" - find $(srcdir) -type f -name '*.[ch]' -exec egrep -H '(^//|[^:]//)' {} \; + find $(srcdir) -type f -name '*.[ch]' -exec grep -E -H '(^//|[^:]//)' {} \; @echo "######## Finding remainders of Arnaud's comment replacement" - find $(srcdir) -type f -name '*.[ch]' -exec egrep -H 'http:/\*' {} \; + find $(srcdir) -type f -name '*.[ch]' -exec grep -E -H 'http:/\*' {} \; @echo "######## Finding explicit libintl.h references" - find $(srcdir) -type f -name '*.[ch]' -exec egrep -H '^#.*include.*libintl\.h' {} \; + find $(srcdir) -type f -name '*.[ch]' -exec grep -E -H '^#.*include.*libintl\.h' {} \; ########################################################################