#60 performance: egrep -> grep -E
Opened 7 months ago by osalbahr. Modified 7 months ago
osalbahr/kernel-tests performance-egrep  into  master

@@ -66,7 +66,7 @@ 

  	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:

@@ -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/`

@@ -13,7 +13,7 @@ 

  	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/`