Skip to content

Commit

Permalink
Use "grep -E" instead of deprecated "egrep"
Browse files Browse the repository at this point in the history
  • Loading branch information
ndim committed Jan 30, 2024
1 parent 108af91 commit 7b9df71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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' {} \;


########################################################################
Expand Down

0 comments on commit 7b9df71

Please sign in to comment.