Files
YABS/yabs.sh
Ajee f33187a492 Use $() notation instead of legacy backticks `` (#50)
* 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
2022-11-30 22:25:29 -05:00

39 KiB
Executable File