In /usr/bin/startBristol line 23:
vers=0.60.11
^--^ SC2034: vers appears unused. Verify use (or export if used externally).


In /usr/bin/startBristol line 32:
midi=seq
^--^ SC2034: midi appears unused. Verify use (or export if used externally).


In /usr/bin/startBristol line 42:
PORT=`date +%N`
     ^--------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
PORT=$(date +%N)


In /usr/bin/startBristol line 43:
PORT=`expr $PORT % 65536` >/dev/null 2>&1
     ^------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
      ^--^ SC2003: expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]].
           ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
PORT=$(expr "$PORT" % 65536) >/dev/null 2>&1


In /usr/bin/startBristol line 44:
if [ -z $PORT ]; then
        ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
if [ -z "$PORT" ]; then


In /usr/bin/startBristol line 45:
	PORT=`date +%s`
             ^--------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
	PORT=$(date +%s)


In /usr/bin/startBristol line 46:
	PORT=`expr $PORT % 65536` >/dev/null 2>&1
             ^------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
              ^--^ SC2003: expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]].
                   ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	PORT=$(expr "$PORT" % 65536) >/dev/null 2>&1


In /usr/bin/startBristol line 48:
if [ $PORT -lt 1024 ]; then
     ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
if [ "$PORT" -lt 1024 ]; then


In /usr/bin/startBristol line 49:
	PORT=`expr $PORT + 5028`
             ^-----------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
              ^--^ SC2003: expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]].
                   ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	PORT=$(expr "$PORT" + 5028)


In /usr/bin/startBristol line 76:
PATH=${PATH}:`dirname $0`
             ^----------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                      ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
PATH=${PATH}:$(dirname "$0")


In /usr/bin/startBristol line 120:
		BRISTOL=`dirname $0`
                        ^----------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                                 ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		BRISTOL=$(dirname "$0")


In /usr/bin/startBristol line 121:
		BRISTOL=`dirname $BRISTOL`
                        ^----------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                                 ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		BRISTOL=$(dirname "$BRISTOL")


In /usr/bin/startBristol line 123:
		if [ ! -f $BRISTOL/bin/bristol ]; then
                          ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		if [ ! -f "$BRISTOL"/bin/bristol ]; then


In /usr/bin/startBristol line 133:
for index in $*; do
             ^-- SC2048: Use "$@" (with quotes) to prevent whitespace problems.


In /usr/bin/startBristol line 134:
	if [ $index = "-stop" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-stop" ]; then


In /usr/bin/startBristol line 136:
		if [ $? != 0 ]; then
                     ^-- SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.


In /usr/bin/startBristol line 141:
	if [ $index = "-exit" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-exit" ]; then


In /usr/bin/startBristol line 146:
	if [ $index = "-kill" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-kill" ]; then


In /usr/bin/startBristol line 150:
	if [ $index = "-host" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-host" ]; then


In /usr/bin/startBristol line 151:
		host=`echo $2 | awk -F: '{print $1}'`
                     ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.
                           ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		host=$(echo "$2" | awk -F: '{print $1}')


In /usr/bin/startBristol line 152:
		if [ $host = "unix" ]; then
                     ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		if [ "$host" = "unix" ]; then


In /usr/bin/startBristol line 153:
			localport=`echo $2 | awk -F: '{print $2}'`
                                  ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.
                                        ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			localport=$(echo "$2" | awk -F: '{print $2}')


In /usr/bin/startBristol line 154:
			if [ -z $localport ]; then
                                ^--------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			if [ -z "$localport" ]; then


In /usr/bin/startBristol line 159:
	if [ $index = "-freqtweak" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-freqtweak" ]; then


In /usr/bin/startBristol line 161:
		if [ $FREQ != 0 -a -x /usr/bin/cpufreq-set -a $execme -eq 0 ]; then
                     ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
                                                           ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.

Did you mean: 
		if [ "$FREQ" != 0 -a -x /usr/bin/cpufreq-set -a $execme -eq 0 ]; then


In /usr/bin/startBristol line 162:
			echo Setting min CPU speed to $FREQ
                                                      ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			echo Setting min CPU speed to "$FREQ"


In /usr/bin/startBristol line 163:
			cpufreq-set -d ${FREQ}
                                       ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			cpufreq-set -d "${FREQ}"


In /usr/bin/startBristol line 166:
	if [ $index = "-count" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-count" ]; then


In /usr/bin/startBristol line 169:
	if [ $index = "-rc" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-rc" ]; then


In /usr/bin/startBristol line 172:
	if [ $index = "-sleep" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-sleep" ]; then


In /usr/bin/startBristol line 173:
		sleep $2
                      ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		sleep "$2"


In /usr/bin/startBristol line 175:
	if [ $index = "-emulate" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-emulate" ]; then


In /usr/bin/startBristol line 178:
	if [ $index = "-port" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-port" ]; then


In /usr/bin/startBristol line 181:
	if [ $index = "-cache" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-cache" ]; then


In /usr/bin/startBristol line 184:
	if [ $index = "-memdump" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-memdump" ]; then


In /usr/bin/startBristol line 187:
	if [ $index = "--summary" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "--summary" ]; then


In /usr/bin/startBristol line 191:
	if [ $index = "-summary" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-summary" ]; then


In /usr/bin/startBristol line 195:
	if [ $index = "-console" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-console" ]; then


In /usr/bin/startBristol line 198:
	if [ $index = "-cli" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-cli" ]; then


In /usr/bin/startBristol line 202:
	if [ $index = "-exec" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-exec" ]; then


In /usr/bin/startBristol line 205:
	if [ $index = "-ladi" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-ladi" ]; then


In /usr/bin/startBristol line 208:
	if [ $index = "-valgrind" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-valgrind" ]; then


In /usr/bin/startBristol line 211:
	if [ $index = "-debug" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-debug" ]; then


In /usr/bin/startBristol line 214:
	if [ $index = "-liblist" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-liblist" ]; then


In /usr/bin/startBristol line 217:
	if [ $index = "-master" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-master" ]; then


In /usr/bin/startBristol line 220:
	if [ $index = "-engine" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-engine" ]; then


In /usr/bin/startBristol line 223:
	if [ $index = "-gui" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-gui" ]; then


In /usr/bin/startBristol line 226:
	if [ $index = "-readme" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-readme" ]; then


In /usr/bin/startBristol line 229:
	if [ $index = "-v" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-v" ]; then


In /usr/bin/startBristol line 232:
	if [ $index = "--v" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "--v" ]; then


In /usr/bin/startBristol line 235:
	if [ $index = "-verbose" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-verbose" ]; then


In /usr/bin/startBristol line 238:
	if [ $index = "--verbose" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "--verbose" ]; then


In /usr/bin/startBristol line 241:
	if [ $index = "-version" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-version" ]; then


In /usr/bin/startBristol line 244:
	if [ $index = "-V" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-V" ]; then


In /usr/bin/startBristol line 247:
	if [ $index = "-logo" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-logo" ]; then


In /usr/bin/startBristol line 250:
	if [ $index = "-h" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-h" ]; then


In /usr/bin/startBristol line 253:
	if [ $index = "--h" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "--h" ]; then


In /usr/bin/startBristol line 256:
	if [ $index = "-help" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-help" ]; then


In /usr/bin/startBristol line 259:
	if [ $index = "--help" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "--help" ]; then


In /usr/bin/startBristol line 262:
	if [ $index = "-libtest" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-libtest" ]; then


In /usr/bin/startBristol line 265:
	if [ $index = "-quiet" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-quiet" ]; then


In /usr/bin/startBristol line 268:
	if [ $index = "-q" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-q" ]; then


In /usr/bin/startBristol line 271:
	if [ $index = "-jsmuuid" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-jsmuuid" ]; then


In /usr/bin/startBristol line 274:
	if [ $index = "-jackstats" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-jackstats" ]; then


In /usr/bin/startBristol line 277:
	if [ $index = "-jack" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-jack" ]; then


In /usr/bin/startBristol line 282:
	if [ $index = "-audio" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-audio" ]; then


In /usr/bin/startBristol line 285:
	if [ $index = "-alsa" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-alsa" ]; then


In /usr/bin/startBristol line 289:
	if [ $index = "-jackstart" ]; then
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$index" = "-jackstart" ]; then


In /usr/bin/startBristol line 305:
	mkdir -p ${BRISTOL_CACHE}/memory
                 ^--------------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	mkdir -p "${BRISTOL_CACHE}"/memory


In /usr/bin/startBristol line 307:
	if [ ! -d $BRISTOL_DUMP/memory/$EMULATE ]; then
                  ^-----------^ SC2086: Double quote to prevent globbing and word splitting.
                                       ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ ! -d "$BRISTOL_DUMP"/memory/"$EMULATE" ]; then


In /usr/bin/startBristol line 308:
		mkdir -p $BRISTOL_DUMP/memory/$EMULATE
                         ^-----------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		mkdir -p "$BRISTOL_DUMP"/memory/"$EMULATE"


In /usr/bin/startBristol line 309:
		cp -f $BRISTOL_DIR/memory/$EMULATE/* $BRISTOL_DUMP/memory/$EMULATE
                                          ^------^ SC2086: Double quote to prevent globbing and word splitting.
                                                     ^-----------^ SC2086: Double quote to prevent globbing and word splitting.
                                                                          ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		cp -f $BRISTOL_DIR/memory/"$EMULATE"/* "$BRISTOL_DUMP"/memory/"$EMULATE"


In /usr/bin/startBristol line 310:
		cp -f $BRISTOL_CACHE/memory/$EMULATE/* $BRISTOL_DUMP/memory/$EMULATE
                      ^------------^ SC2086: Double quote to prevent globbing and word splitting.
                                            ^------^ SC2086: Double quote to prevent globbing and word splitting.
                                                       ^-----------^ SC2086: Double quote to prevent globbing and word splitting.
                                                                            ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		cp -f "$BRISTOL_CACHE"/memory/"$EMULATE"/* "$BRISTOL_DUMP"/memory/"$EMULATE"


In /usr/bin/startBristol line 311:
		echo created memory shadow in $BRISTOL_DUMP
                                              ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		echo created memory shadow in "$BRISTOL_DUMP"


In /usr/bin/startBristol line 323:
if [ -z "${BRISTOL_RC}" -a -f ${BRISTOL_CACHE}/bristolrc ]; then
                        ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
                              ^--------------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
if [ -z "${BRISTOL_RC}" -a -f "${BRISTOL_CACHE}"/bristolrc ]; then


In /usr/bin/startBristol line 327:
	egrep '(PREARGS|POSTARGS)' ${BRISTOL_RC} >/dev/null
        ^---^ SC2196: egrep is non-standard and deprecated. Use grep -E instead.
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	egrep '(PREARGS|POSTARGS)' "${BRISTOL_RC}" >/dev/null


In /usr/bin/startBristol line 329:
	if [ $? -gt 0 ]; then
             ^-- SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.


In /usr/bin/startBristol line 330:
		PREARGS=`cat ${BRISTOL_RC}`
                        ^-----------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                             ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		PREARGS=$(cat "${BRISTOL_RC}")


In /usr/bin/startBristol line 332:
		PREARGS=`awk -F= '/PREARGS/ {print $2}'  ${BRISTOL_RC}`
                        ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.
                                                         ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		PREARGS=$(awk -F= '/PREARGS/ {print $2}'  "${BRISTOL_RC}")


In /usr/bin/startBristol line 333:
		POSTARGS=`awk -F= '/POSTARGS/ {print $2}'  ${BRISTOL_RC}`
                         ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.
                                                           ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		POSTARGS=$(awk -F= '/POSTARGS/ {print $2}'  "${BRISTOL_RC}")


In /usr/bin/startBristol line 349:
	if [ "$(echo $STARTUP | cut -c 1-2)" = "./" ]; then
                     ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$(echo "$STARTUP" | cut -c 1-2)" = "./" ]; then


In /usr/bin/startBristol line 350:
		STARTUP=$(echo $STARTUP | cut -c 3-)
                               ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		STARTUP=$(echo "$STARTUP" | cut -c 3-)


In /usr/bin/startBristol line 353:
	if [ "$(echo $STARTUP | cut -c 1)" = "/" ]; then
                     ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$(echo "$STARTUP" | cut -c 1)" = "/" ]; then


In /usr/bin/startBristol line 354:
		BIN_DIR=$(dirname $STARTUP)
                                  ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		BIN_DIR=$(dirname "$STARTUP")


In /usr/bin/startBristol line 356:
		BIN_DIR=$(dirname $PWD/$STARTUP)
                                  ^--^ SC2086: Double quote to prevent globbing and word splitting.
                                       ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		BIN_DIR=$(dirname "$PWD"/"$STARTUP")


In /usr/bin/startBristol line 359:
	export BRISTOL=$(dirname $BIN_DIR)
               ^-----^ SC2155: Declare and assign separately to avoid masking return values.
                                 ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	export BRISTOL=$(dirname "$BIN_DIR")


In /usr/bin/startBristol line 364:
	brighton $args | less
                 ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	brighton "$args" | less


In /usr/bin/startBristol line 380:
		JP=`bristoljackstats 2>&1`
                   ^---------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
		JP=$(bristoljackstats 2>&1)


In /usr/bin/startBristol line 381:
		if [ $? -eq 0 ]; then
                     ^-- SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.


In /usr/bin/startBristol line 382:
			JACKPARAMS=`echo $JP | awk '/JACKSTATS/'`
                                   ^----------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                                         ^-^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			JACKPARAMS=$(echo "$JP" | awk '/JACKSTATS/')


In /usr/bin/startBristol line 383:
			RATE=`echo ${JACKPARAMS} | awk '{print $2}'`
                             ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			RATE=$(echo "${JACKPARAMS}" | awk '{print $2}')


In /usr/bin/startBristol line 384:
			COUNT=`echo ${JACKPARAMS} | awk '{print $3}'`
                              ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.
                                    ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			COUNT=$(echo "${JACKPARAMS}" | awk '{print $3}')


In /usr/bin/startBristol line 386:
			echo jackstats found -rate ${RATE} -count ${COUNT}
                                                   ^-----^ SC2086: Double quote to prevent globbing and word splitting.
                                                                  ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			echo jackstats found -rate "${RATE}" -count "${COUNT}"


In /usr/bin/startBristol line 401:
		JACKD=`ps ax | grep -w jackd | grep -vw grep` 
                      ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.
                       ^-- SC2009: Consider using pgrep instead of grepping ps output.

Did you mean: 
		JACKD=$(ps ax | grep -w jackd | grep -vw grep) 


In /usr/bin/startBristol line 411:
				JACKD=`cat /etc/jackdrc`
                                      ^----------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
				JACKD=$(cat /etc/jackdrc)


In /usr/bin/startBristol line 416:
				JACKD=`cat ~/.jackdrc`
                                      ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
				JACKD=$(cat ~/.jackdrc)


In /usr/bin/startBristol line 424:
			RATE=`echo ${JACKD} |grep -o -- '-r[0-9][0-9]*' |sed 's/^-r//'` 
                             ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.
                                   ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			RATE=$(echo "${JACKD}" |grep -o -- '-r[0-9][0-9]*' |sed 's/^-r//') 


In /usr/bin/startBristol line 432:
			COUNT=`echo ${JACKD} |grep -o -- '-p[0-9][0-9]*' |tail -n1 |sed 's/^-p//'`
                              ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.
                                    ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			COUNT=$(echo "${JACKD}" |grep -o -- '-p[0-9][0-9]*' |tail -n1 |sed 's/^-p//')


In /usr/bin/startBristol line 453:
	ldd `which bristol`
            ^-------------^ SC2046: Quote this to prevent word splitting.
            ^-------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
	ldd $(which bristol)


In /usr/bin/startBristol line 456:
	ldd `which brighton`
            ^--------------^ SC2046: Quote this to prevent word splitting.
            ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
	ldd $(which brighton)


In /usr/bin/startBristol line 461:
	ldd `which bristol` | grep jack > /dev/null 2>&1
            ^-------------^ SC2046: Quote this to prevent word splitting.
            ^-------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
	ldd $(which bristol) | grep jack > /dev/null 2>&1


In /usr/bin/startBristol line 462:
	if [ $? -ne 0 ]; then
             ^-- SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.


In /usr/bin/startBristol line 464:
		exit -1
                     ^-- SC2242: Can only exit with status 0-255. Other data should be written to stdout/stderr.


In /usr/bin/startBristol line 488:
	if [ $host = "unix" ]; then
             ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$host" = "unix" ]; then


In /usr/bin/startBristol line 489:
		echo checking availability of host port $localport
                                                        ^--------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		echo checking availability of host port "$localport"


In /usr/bin/startBristol line 490:
		ls /tmp/br.$localport >/dev/null 2>&1
                           ^--------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		ls /tmp/br."$localport" >/dev/null 2>&1


In /usr/bin/startBristol line 491:
		if [ $? -eq 0 ]; then
                     ^-- SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.


In /usr/bin/startBristol line 493:
			rm -f /tmp/br.$localport
                                      ^--------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			rm -f /tmp/br."$localport"


In /usr/bin/startBristol line 496:
		echo checking availability of TCP port $PORT
                                                       ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		echo checking availability of TCP port "$PORT"


In /usr/bin/startBristol line 497:
		netstat -taln | awk '{print $4}' | grep $PORT > /dev/null
                                                        ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		netstat -taln | awk '{print $4}' | grep "$PORT" > /dev/null


In /usr/bin/startBristol line 498:
		while [ $? -eq 0 ]; do
                        ^-- SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.


In /usr/bin/startBristol line 499:
			echo -n "port looked busy, trying "
                             ^-- SC2039: In POSIX sh, echo flags are undefined.


In /usr/bin/startBristol line 500:
			PORT=`expr $PORT + 1`
                             ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                              ^--^ SC2003: expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]].
                                   ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			PORT=$(expr "$PORT" + 1)


In /usr/bin/startBristol line 501:
			echo $PORT
                             ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			echo "$PORT"


In /usr/bin/startBristol line 502:
			netstat -taln | grep $PORT > /dev/null
                                             ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			netstat -taln | grep "$PORT" > /dev/null


In /usr/bin/startBristol line 504:
		if [ ${PORT} -lt 1024 -a ${USER} != "root" ]; then
                     ^-----^ SC2086: Double quote to prevent globbing and word splitting.
                                      ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
                                         ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		if [ "${PORT}" -lt 1024 -a "${USER}" != "root" ]; then


In /usr/bin/startBristol line 507:
			echo using port $PORT
                                        ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			echo using port "$PORT"


In /usr/bin/startBristol line 517:
		bristol -rate ${RATE} -count ${COUNT} ${PREARGS} $args -port $PORT ${POSTARGS} &
                                                      ^--------^ SC2086: Double quote to prevent globbing and word splitting.
                                                                 ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                             ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                   ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		bristol -rate ${RATE} -count ${COUNT} "${PREARGS}" "$args" -port "$PORT" "${POSTARGS}" &


In /usr/bin/startBristol line 520:
	brighton ${PREARGS} $args -port ${PORT} ${POSTARGS}
                 ^--------^ SC2086: Double quote to prevent globbing and word splitting.
                            ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                        ^-----^ SC2086: Double quote to prevent globbing and word splitting.
                                                ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	brighton "${PREARGS}" "$args" -port "${PORT}" "${POSTARGS}"


In /usr/bin/startBristol line 525:
				brighton ${PREARGS} $args -port ${PORT} ${POSTARGS} &
                                         ^--------^ SC2086: Double quote to prevent globbing and word splitting.
                                                    ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                ^-----^ SC2086: Double quote to prevent globbing and word splitting.
                                                                        ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				brighton "${PREARGS}" "$args" -port "${PORT}" "${POSTARGS}" &


In /usr/bin/startBristol line 527:
				brighton ${PREARGS} $args -port ${PORT} ${POSTARGS} > /dev/null 2>&1 &
                                         ^--------^ SC2086: Double quote to prevent globbing and word splitting.
                                                    ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                ^-----^ SC2086: Double quote to prevent globbing and word splitting.
                                                                        ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				brighton "${PREARGS}" "$args" -port "${PORT}" "${POSTARGS}" > /dev/null 2>&1 &


In /usr/bin/startBristol line 533:
						brighton ${PREARGS} $args -port ${PORT} ${POSTARGS}
                                                         ^--------^ SC2086: Double quote to prevent globbing and word splitting.
                                                                    ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                ^-----^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                        ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
						brighton "${PREARGS}" "$args" -port "${PORT}" "${POSTARGS}"


In /usr/bin/startBristol line 535:
						valgrind --leak-check=full -v --show-reachable=yes --track-origins=yes brighton $args -port ${PORT} ${POSTARGS}
                                                                                                                                ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                                                                            ^-----^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                                                                                    ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
						valgrind --leak-check=full -v --show-reachable=yes --track-origins=yes brighton "$args" -port "${PORT}" "${POSTARGS}"


In /usr/bin/startBristol line 538:
					exec brighton ${PREARGS} $args -port ${PORT} ${POSTARGS}
                                                      ^--------^ SC2086: Double quote to prevent globbing and word splitting.
                                                                 ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                             ^-----^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                     ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
					exec brighton "${PREARGS}" "$args" -port "${PORT}" "${POSTARGS}"


In /usr/bin/startBristol line 543:
					brighton ${PREARGS} $args -port ${PORT} ${POSTARGS} > /dev/null 2>&1
                                                 ^--------^ SC2086: Double quote to prevent globbing and word splitting.
                                                            ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                        ^-----^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
					brighton "${PREARGS}" "$args" -port "${PORT}" "${POSTARGS}" > /dev/null 2>&1


In /usr/bin/startBristol line 545:
					exec brighton ${PREARGS} $args -port ${PORT} ${POSTARGS} > /dev/null 2>&1
                                                      ^--------^ SC2086: Double quote to prevent globbing and word splitting.
                                                                 ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                             ^-----^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                     ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
					exec brighton "${PREARGS}" "$args" -port "${PORT}" "${POSTARGS}" > /dev/null 2>&1


In /usr/bin/startBristol line 561:
					bristol -rate ${RATE} -count ${COUNT} ${PREARGS} $args -port $PORT ${POSTARGS}
                                                                              ^--------^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                         ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                                     ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                                           ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
					bristol -rate ${RATE} -count ${COUNT} "${PREARGS}" "$args" -port "$PORT" "${POSTARGS}"


In /usr/bin/startBristol line 564:
					exec bristol -rate ${RATE} -count ${COUNT} ${PREARGS} $args -port $PORT ${POSTARGS}
                                                                                   ^--------^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                              ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                                          ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                                                ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
					exec bristol -rate ${RATE} -count ${COUNT} "${PREARGS}" "$args" -port "$PORT" "${POSTARGS}"


In /usr/bin/startBristol line 567:
				valgrind --leak-check=full -v --show-reachable=yes --track-origins=yes bristol -rate ${RATE} -count ${COUNT} ${PREARGS} $args -port $PORT ${POSTARGS}
                                                                                                                                             ^--------^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                                                                                        ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                                                                                                    ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                                                                                                          ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				valgrind --leak-check=full -v --show-reachable=yes --track-origins=yes bristol -rate ${RATE} -count ${COUNT} "${PREARGS}" "$args" -port "$PORT" "${POSTARGS}"


In /usr/bin/startBristol line 572:
				bristol -rate ${RATE} -count ${COUNT} ${PREARGS} $args -port $PORT ${POSTARGS} > /dev/null 2>&1
                                                                      ^--------^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                 ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                             ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                                   ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				bristol -rate ${RATE} -count ${COUNT} "${PREARGS}" "$args" -port "$PORT" "${POSTARGS}" > /dev/null 2>&1


In /usr/bin/startBristol line 574:
				exec bristol -rate ${RATE} -count ${COUNT} ${PREARGS} $args -port $PORT ${POSTARGS} > /dev/null 2>&1
                                                                           ^--------^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                      ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                                  ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                                        ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				exec bristol -rate ${RATE} -count ${COUNT} "${PREARGS}" "$args" -port "$PORT" "${POSTARGS}" > /dev/null 2>&1


In /usr/bin/startBristol line 591:
if [ $FREQ != 0 -a -x /usr/bin/cpufreq-set ]; then
     ^---^ SC2086: Double quote to prevent globbing and word splitting.
                ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.

Did you mean: 
if [ "$FREQ" != 0 -a -x /usr/bin/cpufreq-set ]; then


In /usr/bin/startBristol line 599:
 exit `expr $engstatus + $guistatus`
      ^----------------------------^ SC2046: Quote this to prevent word splitting.
      ^----------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
       ^--^ SC2003: expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]].

Did you mean: 
 exit $(expr $engstatus + $guistatus)

For more information:
  https://www.shellcheck.net/wiki/SC2242 -- Can only exit with status 0-255. ...
  https://www.shellcheck.net/wiki/SC2034 -- midi appears unused. Verify use (...
  https://www.shellcheck.net/wiki/SC2039 -- In POSIX sh, echo flags are undef...