In /usr/bin/scr_prerun line 13: if [ $SCR_DEBUG -gt 0 ] ; then ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ "$SCR_DEBUG" -gt 0 ] ; then In /usr/bin/scr_prerun line 19: start_time=`date` ^----^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: start_time=$(date) In /usr/bin/scr_prerun line 20: start_secs=`date +%s` ^--------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: start_secs=$(date +%s) In /usr/bin/scr_prerun line 29: pardir=`$bindir/scr_prefix` ^------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: pardir=$($bindir/scr_prefix) In /usr/bin/scr_prerun line 50: if [ $? -ne 0 ] ; then ^-- SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?. In /usr/bin/scr_prerun line 56: mkdir -p ${pardir}/.scr ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: mkdir -p "${pardir}"/.scr In /usr/bin/scr_prerun line 68: rm -f ${pardir}/.scr/flush.scr ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: rm -f "${pardir}"/.scr/flush.scr In /usr/bin/scr_prerun line 69: rm -f ${pardir}/.scr/nodes.scr ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: rm -f "${pardir}"/.scr/nodes.scr In /usr/bin/scr_prerun line 72: end_time=`date` ^----^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: end_time=$(date) In /usr/bin/scr_prerun line 73: end_secs=`date +%s` ^--------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: end_secs=$(date +%s) In /usr/bin/scr_prerun line 74: run_secs=$(($end_secs - $start_secs)) ^-------^ SC2004: $/${} is unnecessary on arithmetic variables. ^---------^ SC2004: $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le...