mirror of
https://github.com/masonr/yet-another-bench-script.git
synced 2026-05-12 07:35:10 +08:00
* Use $() notation instead of legacy backticks ``
Line 45:
KERNEL_BIT=`getconf LONG_BIT`
Use $(...) notation instead of legacy backticks `...`.
* Use $() notation instead of legacy backticks ``
Here the full editing
Use $(...) notation instead of legacy backticks ....
Line 45:
KERNEL_BIT=`getconf LONG_BIT`
KERNEL_BIT=$(getconf LONG_BIT)
Line 254:
DATE=`date -Iseconds | sed -e "s/:/_/g"`
DATE=$(date -Iseconds | sed -e "s/:/_/g")
Line 428:
AVAIL_SPACE=`df -k . | awk 'NR==2{print $4}'`
AVAIL_SPACE=$(df -k . | awk 'NR==2{print $4}')
Line 603:
PORT=`shuf -i $PORTS -n 1`
PORT=$(shuf -i $PORTS -n 1)
Line 631:
PORT=`shuf -i $PORTS -n 1`
PORT=$(shuf -i $PORTS -n 1)
Line 793:
$GEEKBENCH_PATH/geekbench_x86_32 --unlock `cat geekbench.license` > /dev/null 2>&1
$GEEKBENCH_PATH/geekbench_x86_32 --unlock $(cat geekbench.license) > /dev/null 2>&1
Line 801:
$GEEKBENCH_PATH/geekbench4 --unlock `cat geekbench.license` > /dev/null 2>&1
$GEEKBENCH_PATH/geekbench4 --unlock $(cat geekbench.license) > /dev/null 2>&1
Line 826:
$GEEKBENCH_PATH/geekbench5 --unlock `cat geekbench.license` > /dev/null 2>&1
$GEEKBENCH_PATH/geekbench5 --unlock $(cat geekbench.license) > /dev/null 2>&1
Have a nice day!
Cheers!
-Ajee
39 KiB
Executable File
39 KiB
Executable File