From 5b5f646079e8abe6d9b1f550aaf0e837b2f5ea13 Mon Sep 17 00:00:00 2001 From: Andrew Donnellan Date: Wed, 10 Dec 2025 13:43:04 +1100 Subject: all: replace egrep with grep -E The egrep command has been deprecated in GNU Grep since 2007, and nowadays using egrep rather than grep -E will print a warning to the user, which is very annoying. Replace all usages of egrep with grep -E. Signed-off-by: Andrew Donnellan --- tools/check-language.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/check-language.sh') diff --git a/tools/check-language.sh b/tools/check-language.sh index b9c5d1d95..f3108ffa9 100755 --- a/tools/check-language.sh +++ b/tools/check-language.sh @@ -7,7 +7,7 @@ FAILED="" shopt -s nocasematch for F in $(find . -name "*.go" -o -name "*.sh" -o -name "*.cc" -o -name "*.md" \ -o -name "*.S" -o -name "*.py" -o -name "*.yml" -o -name "*.yaml" | \ - egrep -v "/gen/|executor/syscalls.h|dashboard/config/linux/bits|pkg/csource/generated.go|tools/check-language.sh"); do + grep -E -v "/gen/|executor/syscalls.h|dashboard/config/linux/bits|pkg/csource/generated.go|tools/check-language.sh"); do ((FILES+=1)) L=0 while IFS= read -r LINE; do -- cgit mrf-deployment