Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile.com
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ EXTRA_CFILES= \
#
# some definitions to make getting compiler versions possible - avoid quotes
#
COMPILER_VERSION_CMD_cc=cc -V 2>&1 | egrep Sun
COMPILER_VERSION_CMD_cc=cc -V 2>&1 | grep -E Sun
COMPILER_VERSION_CMD_gcc=gcc -dumpversion
COMPILER_VERSION_CMD=$(COMPILER_VERSION_CMD_$(CC))

Expand Down
2 changes: 1 addition & 1 deletion bench
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ if [ -f /usr/sbin/psrinfo ]; then
fi

if [ -f /proc/cpuinfo ]; then
p_count=`egrep processor /proc/cpuinfo | wc -l`
p_count=`grep -E processor /proc/cpuinfo | wc -l`
p_mhz=`awk -F: '/cpu MHz/{printf("%5.0f00Mhz\n",$2/100); exit}' /proc/cpuinfo`
p_type=`awk -F: '/model name/{print $2; exit}' /proc/cpuinfo`
fi
Expand Down
2 changes: 1 addition & 1 deletion bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ if [ -f /usr/sbin/psrinfo ]; then
fi

if [ -f /proc/cpuinfo ]; then
p_count=`egrep processor /proc/cpuinfo | wc -l`
p_count=`grep -E processor /proc/cpuinfo | wc -l`
p_mhz=`awk -F: '/cpu MHz/{printf("%5.0f00Mhz\n",$2/100); exit}' /proc/cpuinfo`
p_type=`awk -F: '/model name/{print $2; exit}' /proc/cpuinfo`
fi
Expand Down