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 --- po/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'po') diff --git a/po/Makefile b/po/Makefile index 82408f69db..8f1e73e089 100644 --- a/po/Makefile +++ b/po/Makefile @@ -57,13 +57,13 @@ libc.pot: pot.header libc.pot.files -e "s/DATE/`date +'%Y-%m-%d %H:%M'$$disp`/" \ -e "s/CHARSET/UTF-8/" \ $< > $@.new - egrep -v '\.ksh$$' $(word 2,$^) > $(objdir)/tmp-libc.pot-files + grep -E -v '\.ksh$$' $(word 2,$^) > $(objdir)/tmp-libc.pot-files cd ..; $(XGETTEXT) --keyword=_ --keyword=N_ \ --add-comments=TRANS --flag=error:3:c-format \ --flag=f_print:2:c-format \ --sort-by-file --omit-header -E -n -d - \ -f $(objdir)/tmp-libc.pot-files >> po/$@.new - egrep '\.ksh$$' $(word 2,$^) > $(objdir)/tmp-libc.pot-files + grep -E '\.ksh$$' $(word 2,$^) > $(objdir)/tmp-libc.pot-files cd ..; $(XGETTEXT) --add-comments=TRANS --language=Shell \ --sort-by-file --omit-header -E -n -o po/$@.new -j \ -f $(objdir)/tmp-libc.pot-files po/$@.new -- cgit 1.4.1