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 --- manual/libc-texinfo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manual') diff --git a/manual/libc-texinfo.sh b/manual/libc-texinfo.sh index aea27f9..1cf3501 100644 --- a/manual/libc-texinfo.sh +++ b/manual/libc-texinfo.sh @@ -22,7 +22,7 @@ build_menu () { } collect_nodes () { - egrep '^(@c )?@node.*Top' "$@" /dev/null | cut -d, -f-2 | + grep -E '^(@c )?@node.*Top' "$@" /dev/null | cut -d, -f-2 | sed 's/@c //; s/, /:/; s/:@node /:/; s/ /_/g; s/:/ /g' | $AWK '{ file[$2] = $1; nnode[$2] = $3 } END { for (x in file) -- cgit v1.1