Explorar el Código

egrep is deprecated use grep -E

Waldemar Brodkorb hace 1 año
padre
commit
aafba297c3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      scripts/prereq.sh

+ 1 - 1
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