From 3a00fbf013514676b30af64462785c5fc44caec8 Mon Sep 17 00:00:00 2001 From: Osama Albahrani Date: Aug 10 2025 18:26:02 +0000 Subject: performance: egrep -> grep -E Fix the following warning: egrep: warning: egrep is obsolescent; using grep -E --- diff --git a/performance/lmbench3/Makefile b/performance/lmbench3/Makefile index 77671ff..3d0721e 100644 --- a/performance/lmbench3/Makefile +++ b/performance/lmbench3/Makefile @@ -66,7 +66,7 @@ shar: co -q Makefile $(MAKE) get cd .. && \ - find lmbench -type f -print | egrep -v 'noship|RCS' > /tmp/FILES + find lmbench -type f -print | grep -E -v 'noship|RCS' > /tmp/FILES cd .. && shar -S -a -n lmbench1.0 -L 50K < /tmp/FILES FRC: diff --git a/performance/lmbench3/scripts/mkrelease b/performance/lmbench3/scripts/mkrelease index be50f03..1db7d15 100755 --- a/performance/lmbench3/scripts/mkrelease +++ b/performance/lmbench3/scripts/mkrelease @@ -6,7 +6,7 @@ make -s clean make -s get -VERS=`egrep 'MAJOR|MINOR' src/version.h | awk '{print $3}'` +VERS=`grep -E 'MAJOR|MINOR' src/version.h | awk '{print $3}'` set `echo $VERS` if [ $2 -lt 0 ] then VERS=`echo $1$2 | sed s/-/alpha/` diff --git a/performance/lmbench3/scripts/version b/performance/lmbench3/scripts/version index 879b700..d0e83ee 100755 --- a/performance/lmbench3/scripts/version +++ b/performance/lmbench3/scripts/version @@ -13,7 +13,7 @@ else if [ -f ../src/version.h ] fi fi if [ -f $F ] -then VERS=`egrep 'MAJOR|MINOR' $F | awk '{print $3}'` +then VERS=`grep -E 'MAJOR|MINOR' $F | awk '{print $3}'` set `echo $VERS` if [ $2 -lt 0 ] then VERS=`echo $1$2 | sed s/-/alpha/`