From aafba297c38c6b0a0ac0a41291af1d014011a092 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 18 Aug 2024 03:41:18 +0200 Subject: egrep is deprecated use grep -E --- scripts/prereq.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prereq.sh b/scripts/prereq.sh index 717ddf15c..2d3a921fa 100755 --- a/scripts/prereq.sh +++ b/scripts/prereq.sh @@ -233,7 +233,7 @@ printf " ---> checking if bash is installed.. " if which bash >/dev/null; then printf "found\n" printf " ---> checking if it is bash 4.x or 5.x.. " - LC_ALL=C bash --version 2>/dev/null| egrep -i 'version 4|5' >/dev/null + LC_ALL=C bash --version 2>/dev/null| grep -E -i 'version 4|5' >/dev/null if [ $? -eq 0 ]; then printf "yes\n" else -- cgit v1.2.3