In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 21:
exec bash $0 "$@"
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
exec bash "$0" "$@"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 32:
argv_backup="${@}"
^----^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 72:
showdep="dpkg -S"
^-----^ SC2034 (warning): showdep appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 75:
vmstat=vmstat
^----^ SC2034 (warning): vmstat appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 83:
dfk_parser () { tail -1 | while read FS ALL USED AVAIL UPERC MP; do if echo ${AVAIL} | ${grepq} '%'; then echo ${USED} ; else echo ${AVAIL} ; fi done ; }
^--^ SC2162 (info): read without -r will mangle backslashes.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dfk_parser () { tail -1 | while read FS ALL USED AVAIL UPERC MP; do if echo "${AVAIL}" | ${grepq} '%'; then echo "${USED}" ; else echo "${AVAIL}" ; fi done ; }
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 94:
ywait () { jobs -p >${tmpdir}/sdn.jobs ; for i in $( grep -v "^$tailpid\$" ${tmpdir}/sdn.jobs ) ; do wait $i ; done ; }
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2013 (info): To read lines rather than words, pipe/redirect to a 'while read' loop.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mywait () { jobs -p >"${tmpdir}"/sdn.jobs ; for i in $( grep -v "^$tailpid\$" "${tmpdir}"/sdn.jobs ) ; do wait "$i" ; done ; }
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 134:
exit ${1:-0}
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
exit "${1:-0}"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 200:
exit 0
^----^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 207:
[ -n "$privacy_mode" ] && [ "x$debug_params" = "x$default_debug_params" ] && debug_params="$default_ldebug_params"
^--------------^ SC2268 (style): Avoid x-prefix in comparisons as it no longer serves a purpose.
Did you mean:
[ -n "$privacy_mode" ] && [ "$debug_params" = "$default_debug_params" ] && debug_params="$default_ldebug_params"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 226:
( umask 077 ; mkdir ${tmpdir} )
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
( umask 077 ; mkdir "${tmpdir}" )
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 233:
exec 3>&1 >${tmpdir}/syslog-ng.debun.txt 2>&
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
exec 3>&1 >"${tmpdir}"/syslog-ng.debun.txt 2>&1
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 236:
while [ ! -f ${tmpdir}/syslog-ng.debun.txt ] ; do sleep 1 ; done
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
while [ ! -f "${tmpdir}"/syslog-ng.debun.txt ] ; do sleep 1 ; done
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 238:
tail -f ${tmpdir}/syslog-ng.debun.txt >&3 &
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
tail -f "${tmpdir}"/syslog-ng.debun.txt >&3 &
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 245:
if checkpid ${debugpid} ; then
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if checkpid "${debugpid}" ; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 246:
kill -INT $debugpid
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
kill -INT "$debugpid"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 247:
checkpid ${debugpid} && sleep 1
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
checkpid "${debugpid}" && sleep 1
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 248:
checkpid ${debugpid} && kill -9 $debugpid
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
checkpid "${debugpid}" && kill -9 "$debugpid"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 249:
checkpid ${debugpid} && sleep 1
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
checkpid "${debugpid}" && sleep 1
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 250:
checkpid ${debugpid} && echo "I gave up... debugger pid doesn't die"
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
checkpid "${debugpid}" && echo "I gave up... debugger pid doesn't die"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 263:
checkpid $i && kill -INT $i
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
checkpid "$i" && kill -INT "$i"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 267:
checkpid $i && kill -9 $i 2>/dev/null
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
checkpid "$i" && kill -9 "$i" 2>/dev/null
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 274:
cd ${tmpdir}
^----------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cd "${tmpdir}" || exit
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 275:
touch ${tmpdir}.tgz
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
touch "${tmpdir}".tgz
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 276:
chmod 600 ${tmpdir}.tgz
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod 600 "${tmpdir}".tgz
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 277:
${selftar} | ${gzipcmd} >${tmpdir}.tgz
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${selftar} | ${gzipcmd} >"${tmpdir}".tgz
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 278:
cd ..
^---^ SC2103 (info): Use a ( subshell ) to avoid having to cd back.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 288:
cd ${tmpdir}
^----------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cd "${tmpdir}" || exit
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 294:
[ -n "$service_status" ] && $service_status >${tmpdir}/svc.post
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -n "$service_status" ] && $service_status >"${tmpdir}"/svc.post
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 309:
extras="${extras}${extras:+ }$@"
^-----------------------^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 316:
local self
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 317:
local parent
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 318:
local ret
^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 319:
local tmpfile=${tmpdir}/getparent.$$.txt
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local tmpfile="${tmpdir}"/getparent.$$.txt
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 320:
$pseao pid,ppid >$tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$pseao pid,ppid >"$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 323:
while read self parent ; do
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 326:
done < $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
done < "$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 327:
rm $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm "$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 328:
echo $ret
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "$ret"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 332:
local childs
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 333:
local dummy
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 334:
local child
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 335:
local tmpfile=${tmpdir}/getchilds.$$.txt
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local tmpfile="${tmpdir}"/getchilds.$$.txt
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 336:
$pseao ppid,pid >$tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$pseao ppid,pid >"$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 339:
while read dummy child ; do
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 342:
done < $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
done < "$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 343:
rm $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm "$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 344:
echo ${childs}
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${childs}"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 348:
local childs
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 349:
local subchilds
^-------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 350:
childs=$( getchilds ${1} )
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
childs=$( getchilds "${1}" )
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 351:
local i
^-----^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 355:
subchilds="${subchilds}${subchilds:+ }$(getallchilds $i)"
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
subchilds="${subchilds}${subchilds:+ }$(getallchilds "$i")"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 357:
echo ${childs} ${subchilds}
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${childs}" "${subchilds}"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 361:
pwd > ${tmpdir}/debun.pwd
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
pwd > "${tmpdir}"/debun.pwd
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 362:
echo "${0} ${argv_backup}" > ${tmpdir}/debun.argv
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${0} ${argv_backup}" > "${tmpdir}"/debun.argv
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 363:
echo "${version}" > ${tmpdir}/debun.version
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${version}" > "${tmpdir}"/debun.version
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 364:
id > ${tmpdir}/debun.runas
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
id > "${tmpdir}"/debun.runas
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 365:
echo $PATH > ${tmpdir}/debun.path
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "$PATH" > "${tmpdir}"/debun.path
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 371:
free >${tmpdir}/sys.free
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
free >"${tmpdir}"/sys.free
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 372:
vmstat >${tmpdir}/sys.vmstat
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
vmstat >"${tmpdir}"/sys.vmstat
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 375:
${opensslcmd} version >${tmpdir}/sys.openssl.version
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${opensslcmd} version >"${tmpdir}"/sys.openssl.version
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 378:
java -version >${tmpdir}/sys.java.version 2>&
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
java -version >"${tmpdir}"/sys.java.version 2>&1
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 384:
if $ipconfig >${tmpdir}/net.ip ; then
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if $ipconfig >"${tmpdir}"/net.ip ; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 390:
if routeconfig >${tmpdir}/net.route ; then
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if routeconfig >"${tmpdir}"/net.route ; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 396:
[ -f /etc/nsswitch.conf ] && cp /etc/nsswitch.conf ${tmpdir}/sys.nsswitch.conf
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -f /etc/nsswitch.conf ] && cp /etc/nsswitch.conf "${tmpdir}"/sys.nsswitch.conf
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 397:
[ -f /etc/resolv.conf ] && cp /etc/resolv.conf ${tmpdir}/sys.resolv.conf
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -f /etc/resolv.conf ] && cp /etc/resolv.conf "${tmpdir}"/sys.resolv.conf
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 398:
[ -f /etc/hosts ] && cp /etc/hosts ${tmpdir}/sys.hosts
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -f /etc/hosts ] && cp /etc/hosts "${tmpdir}"/sys.hosts
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 404:
$pscmd >${tmpdir}/sys.ps
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$pscmd >"${tmpdir}"/sys.ps
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 409:
$dfk >${tmpdir}/sys.df_k
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$dfk >"${tmpdir}"/sys.df_k
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 410:
$dfh >${tmpdir}/sys.df_h
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$dfh >"${tmpdir}"/sys.df_h
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 411:
$dfi >${tmpdir}/sys.df_i 2>/dev/null
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$dfi >"${tmpdir}"/sys.df_i 2>/dev/null
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 412:
$mount >${tmpdir}/sys.mount
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$mount >"${tmpdir}"/sys.mount
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 416:
$w >${tmpdir}/sys.w
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$w >"${tmpdir}"/sys.w
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 417:
$dmesg >${tmpdir}/sys.dmesg
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$dmesg >"${tmpdir}"/sys.dmesg
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 418:
netstatnlp >${tmpdir}/sys.netstat.ltn
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
netstatnlp >"${tmpdir}"/sys.netstat.ltn
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 419:
$netstatpunt >${tmpdir}/sys.netstat.est
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$netstatpunt >"${tmpdir}"/sys.netstat.est
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 420:
netstatlunp >${tmpdir}/sys.netstat.lunp
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
netstatlunp >"${tmpdir}"/sys.netstat.lunp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 421:
$netstatsu >${tmpdir}/sys.netstat.su
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$netstatsu >"${tmpdir}"/sys.netstat.su
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 422:
[ -f /proc/net/udp ] && cp /proc/net/udp ${tmpdir}/sys.proc.net.udp
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -f /proc/net/udp ] && cp /proc/net/udp "${tmpdir}"/sys.proc.net.udp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 469:
local buffer_error
^----------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 495:
local header fsize buffer_pubkey buffer_rest hashopts hashnum
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 498:
if [ ${opensslmajor} -gt 0 ]; then
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "${opensslmajor}" -gt 0 ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 509:
buffer_rest=$( ${opensslcmd} x509 -in "${1}" -noout ${hashopts} -serial -dates -fingerprint -subject -issuer | tr '\n' ';' )
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
buffer_rest=$( ${opensslcmd} x509 -in "${1}" -noout "${hashopts}" -serial -dates -fingerprint -subject -issuer | tr '\n' ';' )
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 510:
printf "${header}${fsize};${buffer_pubkey}${hashnum}${buffer_rest}"
^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 514:
local header fsize buffer_pubkey buffer_error
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 541:
printf "${header}${fsize};${buffer_pubkey}"
^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 547:
local header fsize buffer_pubkey buffer_error
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 551:
if [ ${opensslmajor} -gt 0 ]; then
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "${opensslmajor}" -gt 0 ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 584:
printf "${header}${fsize};${buffer_pubkey}"
^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 588:
local fsize
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 590:
printf "OTHER_FILE;${1};${fsize};"
^-------------------------^ SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 594:
local output_buffer
^-----------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 613:
local OPENSSL OPENSSLVER OPENSSLDAY OPENSSLMONTH OPENSSLYEAR REST
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 614:
read OPENSSL OPENSSLVER OPENSSLDAY OPENSSLMONTH OPENSSLYEAR REST <${tmpdir}/sys.openssl.version
^--^ SC2162 (info): read without -r will mangle backslashes.
^-----^ SC2034 (warning): OPENSSL appears unused. Verify use (or export if used externally).
^--------^ SC2034 (warning): OPENSSLDAY appears unused. Verify use (or export if used externally).
^----------^ SC2034 (warning): OPENSSLMONTH appears unused. Verify use (or export if used externally).
^---------^ SC2034 (warning): OPENSSLYEAR appears unused. Verify use (or export if used externally).
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
read OPENSSL OPENSSLVER OPENSSLDAY OPENSSLMONTH OPENSSLYEAR REST <"${tmpdir}"/sys.openssl.version
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 616:
cd "${confdir}"
^-------------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Did you mean:
cd "${confdir}" || exit
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 617:
find . -name '*.0' -o -name '*.1' -o -name '*.key' -o -name '*.crt' -o -name '*.pem' >${tmpdir}/syslog.etc.pki.files 2>/dev/null
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
find . -name '*.0' -o -name '*.1' -o -name '*.key' -o -name '*.crt' -o -name '*.pem' >"${tmpdir}"/syslog.etc.pki.files 2>/dev/null
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 618:
while read FILE; do
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 619:
pki_process_file "${FILE}" >>${tmpdir}/syslog.etc.pki.info.csv
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
pki_process_file "${FILE}" >>"${tmpdir}"/syslog.etc.pki.info.csv
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 620:
done <${tmpdir}/syslog.etc.pki.files
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
done <"${tmpdir}"/syslog.etc.pki.files
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 640:
cd "${confdir}"
^-------------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Did you mean:
cd "${confdir}" || exit
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 641:
mkdir ${tmpdir}/config
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mkdir "${tmpdir}"/config
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 642:
find . > ${tmpdir}/syslog.etc.files
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
find . > "${tmpdir}"/syslog.etc.files
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 643:
grep '\.key$' ${tmpdir}/syslog.etc.files > ${tmpdir}/syslog.etc.files.removed
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
grep '\.key$' "${tmpdir}"/syslog.etc.files > "${tmpdir}"/syslog.etc.files.removed
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 644:
grep '\.jks$' ${tmpdir}/syslog.etc.files > ${tmpdir}/syslog.etc.files.removed
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
grep '\.jks$' "${tmpdir}"/syslog.etc.files > "${tmpdir}"/syslog.etc.files.removed
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 645:
grep '\.keytab$' ${tmpdir}/syslog.etc.files > ${tmpdir}/syslog.etc.files.removed
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
grep '\.keytab$' "${tmpdir}"/syslog.etc.files > "${tmpdir}"/syslog.etc.files.removed
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 646:
grep -v '\.key$' ${tmpdir}/syslog.etc.files | grep -v '\.jks$' | grep -v '\.keytab$' | \
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
grep -v '\.key$' "${tmpdir}"/syslog.etc.files | grep -v '\.jks$' | grep -v '\.keytab$' | \
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 647:
while read FILE; do \
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 649:
echo "${FILE}" >> ${tmpdir}/syslog.etc.files.removed
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${FILE}" >> "${tmpdir}"/syslog.etc.files.removed
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 654:
cpio -pd ${tmpdir}/config
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cpio -pd "${tmpdir}"/config
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 656:
find ${tmpdir}/config -name "*.conf*" | \
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
find "${tmpdir}"/config -name "*.conf*" | \
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 657:
while read FILE; do \
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 663:
echo 'Old "getsyslogpids":' >${tmpdir}/syslog.pids
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo 'Old "getsyslogpids":' >"${tmpdir}"/syslog.pids
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 664:
getsyslogpids >>${tmpdir}/syslog.pids
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
getsyslogpids >>"${tmpdir}"/syslog.pids
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 666:
sngpid=$( cat ${piddir}/syslog-ng.pid )
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sngpid=$( cat "${piddir}"/syslog-ng.pid )
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 669:
sngpid=$( cat ${piddir}/syslog-ng.pid )
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sngpid=$( cat "${piddir}"/syslog-ng.pid )
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 671:
ppid=$( getparent $sngpid )
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ppid=$( getparent "$sngpid" )
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 672:
sngallpids="$( getallchilds $sngpid )"
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sngallpids="$( getallchilds "$sngpid" )"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 673:
echo "SVpid: $ppid SNGpid: $sngpid Chpids: ${sngallpids}" >>${tmpdir}/syslog.pids
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "SVpid: $ppid SNGpid: $sngpid Chpids: ${sngallpids}" >>"${tmpdir}"/syslog.pids
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 674:
tail -1 ${tmpdir}/syslog.pids
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
tail -1 "${tmpdir}"/syslog.pids
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 681:
sngallpids=$( echo ${sngallpids} )
^---------------------^ SC2116 (style): Useless echo? Instead of 'cmd $(echo foo)', just use 'cmd foo'.
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sngallpids=$( echo "${sngallpids}" )
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 683:
printf 'ps -l -f -p "%s"\n' "${sngallpids}" >>${tmpdir}/syslog.pids
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
printf 'ps -l -f -p "%s"\n' "${sngallpids}" >>"${tmpdir}"/syslog.pids
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 684:
ps -l -f -p "${sngallpids}" >>${tmpdir}/syslog.pids
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ps -l -f -p "${sngallpids}" >>"${tmpdir}"/syslog.pids
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 686:
[ -n "$service_status" ] && $service_status >${tmpdir}/svc.pre
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -n "$service_status" ] && $service_status >"${tmpdir}"/svc.pre
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 690:
local tsdata
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 693:
[ -f ${tmpdir}/syslog.stats.${tsdata} ] && sleep 5 && tsdata=$( timestamp )
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -f "${tmpdir}"/syslog.stats."${tsdata}" ] && sleep 5 && tsdata=$( timestamp )
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 695:
${syslogngctlbin} stats > ${tmpdir}/syslog.stats.${tsdata} 2>&
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${syslogngctlbin} stats > "${tmpdir}"/syslog.stats."${tsdata}" 2>&1
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 696:
echo ${syslogngctlbin} stats
^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${syslogngctlbin}" stats
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 698:
${syslogngctlbin} query get "*" > ${tmpdir}/syslog.query.all.${tsdata} 2>/dev/null
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${syslogngctlbin} query get "*" > "${tmpdir}"/syslog.query.all."${tsdata}" 2>/dev/null
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 699:
echo ${syslogngctlbin} query get "*"
^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${syslogngctlbin}" query get "*"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 700:
if [ -x ${syslogngquerybin} ]; then
^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ -x "${syslogngquerybin}" ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 702:
rm ${tmpdir}/syslog.query.all.${tsdata}
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm "${tmpdir}"/syslog.query.all."${tsdata}"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 704:
${syslogngquerybin} sum "*" > ${tmpdir}/syslog.query.all.${tsdata} 2>/dev/null
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${syslogngquerybin} sum "*" > "${tmpdir}"/syslog.query.all."${tsdata}" 2>/dev/null
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 705:
echo ${syslogngquerybin} sum "*"
^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${syslogngquerybin}" sum "*"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 710:
ls -la "${binprefix}" > ${tmpdir}/syslog.lsl.install_dir 2>&
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ls -la "${binprefix}" > "${tmpdir}"/syslog.lsl.install_dir 2>&1
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 712:
$syslogbin --version > ${tmpdir}/syslog.version
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$syslogbin --version > "${tmpdir}"/syslog.version
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 713:
head -1 ${tmpdir}/syslog.version
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
head -1 "${tmpdir}"/syslog.version
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 717:
if ${syslogngctlbin} show-license-info > ${tmpdir}/syslog.license-usage 2>& then
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if ${syslogngctlbin} show-license-info > "${tmpdir}"/syslog.license-usage 2>& then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 718:
${syslogngctlbin} show-license-info --json > ${tmpdir}/syslog.license-usage.json 2>/dev/null
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${syslogngctlbin} show-license-info --json > "${tmpdir}"/syslog.license-usage.json 2>/dev/null
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 720:
echo ${syslogngctlbin} show-license-info
^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${syslogngctlbin}" show-license-info
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 721:
${syslogngctlbin} credentials status > ${tmpdir}/syslog.credentials.status 2>&
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${syslogngctlbin} credentials status > "${tmpdir}"/syslog.credentials.status 2>&1
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 722:
echo ${syslogngctlbin} credentials status
^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${syslogngctlbin}" credentials status
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 725:
is_available ${lsof%% *} && $lsof $i >${tmpdir}/syslog.$i.lsof 2>/dev/null || echo "No lsof in path." >${tmpdir}/syslog.$i.lsof
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
is_available "${lsof%% *}" && $lsof "$i" >"${tmpdir}"/syslog."$i".lsof 2>/dev/null || echo "No lsof in path." >"${tmpdir}"/syslog."$i".lsof
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 726:
myplimit $i >${tmpdir}/syslog.$i.limits
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
myplimit "$i" >"${tmpdir}"/syslog."$i".limits
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 734:
ls -laR "${vardir}" >${tmpdir}/syslog.lslR.var 2>&
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ls -laR "${vardir}" >"${tmpdir}"/syslog.lslR.var 2>&1
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 736:
$duks "${vardir}/" >${tmpdir}/syslog.duks.var
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$duks "${vardir}/" >"${tmpdir}"/syslog.duks.var
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 737:
read vardu dir <${tmpdir}/syslog.duks.var
^--^ SC2162 (info): read without -r will mangle backslashes.
^-^ SC2034 (warning): dir appears unused. Verify use (or export if used externally).
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
read vardu dir <"${tmpdir}"/syslog.duks.var
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 738:
mkdir ${tmpdir}/var
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mkdir "${tmpdir}"/var
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 739:
cd "${vardir}"
^------------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Did you mean:
cd "${vardir}" || exit
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 741:
freek_tmp=$( ${dfk} ${tmpdir} | dfk_parser )
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
freek_tmp=$( ${dfk} "${tmpdir}" | dfk_parser )
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 747:
find . |grep -v run\\/syslog-ng.ctl$ | cpio -pd ${tmpdir}/var
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
find . |grep -v run\\/syslog-ng.ctl$ | cpio -pd "${tmpdir}"/var
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 749:
printf "Size of ${vardir} is larger than $varlimit kilobytes.\n"
^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 751:
read ans
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 753:
find . | grep -v "syslog-ng*\.ctl" | cpio -pd ${tmpdir}/var
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
find . | grep -v "syslog-ng*\.ctl" | cpio -pd "${tmpdir}"/var
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 756:
find . \( -name "*.persist" -o -name "*.pid" \) | grep -v "syslog-ng.*\.ctl" | cpio -pd ${tmpdir}/var
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
find . \( -name "*.persist" -o -name "*.pid" \) | grep -v "syslog-ng.*\.ctl" | cpio -pd "${tmpdir}"/var
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 760:
printf "TOO LOW free disk space on the filesystem holding ${tmpdir}\n"
^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 761:
printf "to create a full copy of ${vardir}!\nOnly copying most important files.\n"
^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 762:
find . \( -name "*.persist" -o -name "*.pid" \) | grep -v "syslog-ng.*\.ctl" | cpio -pd ${tmpdir}/var
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
find . \( -name "*.persist" -o -name "*.pid" \) | grep -v "syslog-ng.*\.ctl" | cpio -pd "${tmpdir}"/var
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 767:
while read x ; do
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 784:
$lddcmd $syslogrealbin |grep -v needs >${tmpdir}/syslog.ldd
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$lddcmd "$syslogrealbin" |grep -v needs >"${tmpdir}"/syslog.ldd
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 785:
format_ldd_output <${tmpdir}/syslog.ldd >${tmpdir}/syslog.ldfiles
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
format_ldd_output <"${tmpdir}"/syslog.ldd >"${tmpdir}"/syslog.ldfiles
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 786:
for i in $( cat ${tmpdir}/syslog.ldfiles ) ; do
^-- SC2013 (info): To read lines rather than words, pipe/redirect to a 'while read' loop.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
for i in $( cat "${tmpdir}"/syslog.ldfiles ) ; do
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 787:
distpkgoffile $i >>${tmpdir}/syslog.ldpkg
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
distpkgoffile "$i" >>"${tmpdir}"/syslog.ldpkg
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 790:
sort <${tmpdir}/syslog.ldpkg | uniq >${tmpdir}/syslog.ldpkg.u
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sort <"${tmpdir}"/syslog.ldpkg | uniq >"${tmpdir}"/syslog.ldpkg.u
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 791:
mv ${tmpdir}/syslog.ldpkg.u ${tmpdir}/syslog.ldpkg
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mv "${tmpdir}"/syslog.ldpkg.u "${tmpdir}"/syslog.ldpkg
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 792:
for i in $( cat ${tmpdir}/syslog.ldpkg ) ; do
^-----------------------------^ SC2013 (info): To read lines rather than words, pipe/redirect to a 'while read' loop.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
for i in $( cat "${tmpdir}"/syslog.ldpkg ) ; do
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 793:
distpkgstatus $i >>${tmpdir}/syslog.ldinfos
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
distpkgstatus "$i" >>"${tmpdir}"/syslog.ldinfos
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 827:
while read SERVICE LOAD ACTIVE SUB DESCRIPTION ; do output_buffer=$( systemctl show -p FragmentPath ${SERVICE} ) ; echo "${output_buffer##FragmentPath=}" ; done | \
^--^ SC2162 (info): read without -r will mangle backslashes.
^--^ SC2034 (warning): LOAD appears unused. Verify use (or export if used externally).
^----^ SC2034 (warning): ACTIVE appears unused. Verify use (or export if used externally).
^-^ SC2034 (warning): SUB appears unused. Verify use (or export if used externally).
^---------^ SC2034 (warning): DESCRIPTION appears unused. Verify use (or export if used externally).
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
while read SERVICE LOAD ACTIVE SUB DESCRIPTION ; do output_buffer=$( systemctl show -p FragmentPath "${SERVICE}" ) ; echo "${output_buffer##FragmentPath=}" ; done | \
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 828:
while read UNITFILE; do SUFFIX=$( echo "${UNITFILE}" | tr / . ); cp "${UNITFILE}" "${tmpdir}/sys.startup.systemd-service${SUFFIX}" ; done
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 874:
local found=0
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 878:
((found+=1))
^----------^ SC3006 (warning): In POSIX sh, standalone ((..)) is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 892:
dpkg -l |grep syslog > ${tmpdir}/deb.packages
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dpkg -l |grep syslog > "${tmpdir}"/deb.packages
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 901:
rpm -qa |grep syslog > ${tmpdir}/rpm.packages
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rpm -qa |grep syslog > "${tmpdir}"/rpm.packages
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 907:
find /var/log/packages -name "*sys*log*" | while read -r FILE; do echo "${FILE##*/}"; done > ${tmpdir}/pkg.packages
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
find /var/log/packages -name "*sys*log*" | while read -r FILE; do echo "${FILE##*/}"; done > "${tmpdir}"/pkg.packages
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 916:
rpm -qa | grep syslog > ${tmpdir}/rpm.packages
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rpm -qa | grep syslog > "${tmpdir}"/rpm.packages
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 922:
netstat -punt >${tmpdir}/sys.netstat.est.noss
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
netstat -punt >"${tmpdir}"/sys.netstat.est.noss
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 931:
${pscmd}Z >"${tmpdir}/sys.ps.selinux"
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
"${pscmd}"Z >"${tmpdir}/sys.ps.selinux"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 938:
sysstat -P ALL 1 5 >${tmpdir}/sys.sar.cpu
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sysstat -P ALL 1 5 >"${tmpdir}"/sys.sar.cpu
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 939:
sysstat -d 1 5 >${tmpdir}/sys.sar.disk
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sysstat -d 1 5 >"${tmpdir}"/sys.sar.disk
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 941:
sar -P ALL 1 5 >${tmpdir}/sys.sar.cpu
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sar -P ALL 1 5 >"${tmpdir}"/sys.sar.cpu
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 942:
sar -d 1 5 >${tmpdir}/sys.sar.disk
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sar -d 1 5 >"${tmpdir}"/sys.sar.disk
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 945:
top -b -H -n 1 -c >${tmpdir}/sys.top.threads
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
top -b -H -n 1 -c >"${tmpdir}"/sys.top.threads
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 985:
sysdef >${tmpdir}/sys.sysdef
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sysdef >"${tmpdir}"/sys.sysdef
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 986:
kstat >${tmpdir}/sys.kstat
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
kstat >"${tmpdir}"/sys.kstat
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 987:
cp /etc/release ${tmpdir}/sys.release
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cp /etc/release "${tmpdir}"/sys.release
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 989:
showrev >${tmpdir}/sys.showrev
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
showrev >"${tmpdir}"/sys.showrev
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 992:
sar -u 1 5 >${tmpdir}/sys.sar.cpu
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sar -u 1 5 >"${tmpdir}"/sys.sar.cpu
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 993:
sar -d 1 5 >${tmpdir}/sys.sar.disk
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sar -d 1 5 >"${tmpdir}"/sys.sar.disk
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 996:
top -b -t -n 1 -c >${tmpdir}/sys.top.threads
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
top -b -t -n 1 -c >"${tmpdir}"/sys.top.threads
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 998:
[ -x "/usr/platform/$( uname -i )/sbin/prtdiag" ] && /usr/platform/$(uname -i)/sbin/prtdiag -v &>${tmpdir}/sys.prtdiag
^---------^ SC2046 (warning): Quote this to prevent word splitting.
^---------------------^ SC3020 (warning): In POSIX sh, &> is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -x "/usr/platform/$( uname -i )/sbin/prtdiag" ] && /usr/platform/$(uname -i)/sbin/prtdiag -v &>"${tmpdir}"/sys.prtdiag
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1005:
pkginfo | grep -i syslog > ${tmpdir}/pkg.packages
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
pkginfo | grep -i syslog > "${tmpdir}"/pkg.packages
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1010:
top -b -d1 -H >${tmpdir}/sys.top.threads
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
top -b -d1 -H >"${tmpdir}"/sys.top.threads
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1019:
sysdef >${tmpdir}/sys.sysdef
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sysdef >"${tmpdir}"/sys.sysdef
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1020:
swlist >${tmpdir}/sys.swlist
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
swlist >"${tmpdir}"/sys.swlist
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1023:
sar -u 1 5 >${tmpdir}/sys.sar.cpu
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sar -u 1 5 >"${tmpdir}"/sys.sar.cpu
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1024:
sar -d 1 5 >${tmpdir}/sys.sar.disk
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sar -d 1 5 >"${tmpdir}"/sys.sar.disk
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1033:
alog -o -t console >${tmpdir}/sys.console-log
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
alog -o -t console >"${tmpdir}"/sys.console-log
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1034:
oslevel -s >${tmpdir}/sys.aix.oslevel-s
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
oslevel -s >"${tmpdir}"/sys.aix.oslevel-s
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1035:
oslevel -sq >${tmpdir}/sys.aix.oslevel-sq
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
oslevel -sq >"${tmpdir}"/sys.aix.oslevel-sq
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1038:
sar -u 1 5 >${tmpdir}/sys.sar.cpu 2>/dev/null
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sar -u 1 5 >"${tmpdir}"/sys.sar.cpu 2>/dev/null
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1039:
sar -b 1 5 >${tmpdir}/sys.sar.disk 2>/dev/null1
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sar -b 1 5 >"${tmpdir}"/sys.sar.disk 2>/dev/null1
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1050:
rpm -qa |grep syslog > ${tmpdir}/rpm.packages
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rpm -qa |grep syslog > "${tmpdir}"/rpm.packages
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1055:
lsb_release -a | tee ${tmpdir}/sys.linux.lsb-all
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
lsb_release -a | tee "${tmpdir}"/sys.linux.lsb-all
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1059:
cat /etc/debian_version >${tmpdir}/sys.linux.os-release
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat /etc/debian_version >"${tmpdir}"/sys.linux.os-release
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1062:
cat /etc/redhat-release >${tmpdir}/sys.linux.os-release
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat /etc/redhat-release >"${tmpdir}"/sys.linux.os-release
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1065:
cat /etc/slackware-version >${tmpdir}/sys.linux.os-release
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat /etc/slackware-version >"${tmpdir}"/sys.linux.os-release
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1068:
cat /etc/SuSE-release >${tmpdir}/sys.linux.os-release
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat /etc/SuSE-release >"${tmpdir}"/sys.linux.os-release
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1072:
cat /etc/*release /etc/*version >${tmpdir}/sys.linux.os-release 2>/dev/null
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat /etc/*release /etc/*version >"${tmpdir}"/sys.linux.os-release 2>/dev/null
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1104:
local tmpfile=${tmpdir}/distpkgoffile.$$.tmp
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local tmpfile="${tmpdir}"/distpkgoffile.$$.tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1105:
dpkg -S $1 >$tmpfile
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dpkg -S "$1" >"$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1106:
read x < $tmpfile
^--^ SC2162 (info): read without -r will mangle backslashes.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
read x < "$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1107:
rm $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm "$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1112:
dpkg -s ${1}
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dpkg -s "${1}"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1121:
local tmpfile=${tmpdir}/distpkgoffile.$$.tmp
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local tmpfile="${tmpdir}"/distpkgoffile.$$.tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1122:
rpm -qf $1 >$tmpfile
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rpm -qf "$1" >"$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1123:
read x < $tmpfile
^--^ SC2162 (info): read without -r will mangle backslashes.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
read x < "$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1124:
rm $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm "$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1129:
rpm -qi ${1}
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rpm -qi "${1}"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1138:
local tmpfile=${tmpdir}/distpkgoffile.$$.tmp
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local tmpfile="${tmpdir}"/distpkgoffile.$$.tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1139:
rpm -qf $1 >$tmpfile
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rpm -qf "$1" >"$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1140:
read x < $tmpfile
^--^ SC2162 (info): read without -r will mangle backslashes.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
read x < "$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1141:
rm $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm "$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1146:
rpm -qi $1
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rpm -qi "$1"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1165:
local LINKTARGET
^--------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1166:
local PKGLOGFILENAMES
^-------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1167:
local SEARCHSTRING
^----------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1186:
local PIVOT
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1187:
local LASTLINE
^------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1188:
local PKGINFO
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1193:
PIVOT=$( fgrep -n "FILE LIST:" "${PKGLOGFILE}" )
^---^ SC2197 (info): fgrep is non-standard and deprecated. Use grep -F instead.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1208:
myplimit () { [ -f "/proc/$1/limits" ] && cat /proc/$1/limits ; }
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
myplimit () { [ -f "/proc/$1/limits" ] && cat /proc/"$1"/limits ; }
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1277:
mypidof () { $pseao pid,comm | while read pid bin ; do [ "$bin" = "$1" ] && echo $pid ; done ; }
^--^ SC2162 (info): read without -r will mangle backslashes.
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mypidof () { $pseao pid,comm | while read pid bin ; do [ "$bin" = "$1" ] && echo "$pid" ; done ; }
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1281:
myplimit () { plimit $1 ; }
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
myplimit () { plimit "$1" ; }
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1289:
pkgchk -l -p $FILE | \
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
pkgchk -l -p "$FILE" | \
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1294:
pkginfo -l $1
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
pkginfo -l "$1"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1301:
topcmd () { ( uptime ; echo ; echo "::memstat" | mdb -k ; sar -u 1 1 ; echo ; ps -eao user,pid,ppid,pcpu,pmem,vsz,rss,tty,s,stime,args | head -n 1; ps -eao user,pid,ppid,pcpu,pmem,vsz,rss,tty,s,stime,args | grep -v COMMAND | sort -rn +3 ) >"${1}" 2>/dev/null ; }
^-- SC2009 (info): Consider using pgrep instead of grepping ps output.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1354:
mypidof () { $pseao pid,comm | while read pid bin ; do [ "$bin" = "$1" ] && echo $pid ; done; }
^--^ SC2162 (info): read without -r will mangle backslashes.
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mypidof () { $pseao pid,comm | while read pid bin ; do [ "$bin" = "$1" ] && echo "$pid" ; done; }
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1398:
dfk_parser () { grep free | while read AVAIL REST_TEXT; do echo ${AVAIL}; done }
^--^ SC2162 (info): read without -r will mangle backslashes.
^-------^ SC2034 (warning): REST_TEXT appears unused. Verify use (or export if used externally).
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dfk_parser () { grep free | while read AVAIL REST_TEXT; do echo "${AVAIL}"; done }
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1402:
mypidof () { ps -e -f | while read uid pid ppid c stime tty time command extra ; do
^--^ SC2162 (info): read without -r will mangle backslashes.
^-^ SC2034 (warning): uid appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1405:
[ "${extra%% *}" = "$1" ] && echo $pid
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "${extra%% *}" = "$1" ] && echo "$pid"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1407:
[ "${command%% *}" = "$1" ] && echo $pid
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "${command%% *}" = "$1" ] && echo "$pid"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1411:
local self
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1412:
local parent
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1413:
local ret
^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1414:
local tmpfile=${tmpdir}/getparent.$$.txt
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local tmpfile="${tmpdir}"/getparent.$$.txt
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1415:
ps -ef >$tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ps -ef >"$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1416:
while read user pid ppid dummy ; do
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1419:
done < $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
done < "$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1420:
rm $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm "$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1421:
echo $ret
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "$ret"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1424:
local childs
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1425:
local dummy
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1426:
local child
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1427:
local tmpfile=${tmpdir}/getchilds.$$.txt
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local tmpfile="${tmpdir}"/getchilds.$$.txt
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1428:
ps -ef >$tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ps -ef >"$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1429:
while read user pid ppid dummy ; do
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1432:
done < $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
done < "$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1433:
rm $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm "$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1434:
echo ${childs}
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${childs}"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1438:
local tmpfile=${tmpdir}/distpkgoffile.tmp
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local tmpfile="${tmpdir}"/distpkgoffile.tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1439:
if [ ! -f $tmpfile ]; then
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ ! -f "$tmpfile" ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1442:
grep $1 $tmpfile | cut -d : -f 1 | while read x; do
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^--^ SC2162 (info): read without -r will mangle backslashes.
Did you mean:
grep "$1" "$tmpfile" | cut -d : -f 1 | while read x; do
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1448:
swlist -l fileset -a title -a description $1 | grep -v "^#" | grep -v "^\""
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
swlist -l fileset -a title -a description "$1" | grep -v "^#" | grep -v "^\""
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1488:
dfk_parser () { tail -1 | while read FS ALL AVAIL UPERC IUPERC MP; do echo ${AVAIL}; done }
^--^ SC2162 (info): read without -r will mangle backslashes.
^-- SC2034 (warning): FS appears unused. Verify use (or export if used externally).
^-^ SC2034 (warning): ALL appears unused. Verify use (or export if used externally).
^---^ SC2034 (warning): UPERC appears unused. Verify use (or export if used externally).
^----^ SC2034 (warning): IUPERC appears unused. Verify use (or export if used externally).
^-- SC2034 (warning): MP appears unused. Verify use (or export if used externally).
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dfk_parser () { tail -1 | while read FS ALL AVAIL UPERC IUPERC MP; do echo "${AVAIL}"; done }
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1491:
topcmd () { ( uptime ; svmon -G | head -n 3 ; sar -u 1 1 ; echo ; ps auxwww | head -n 1; ps auxwww | grep -v COMMAND | sort -rn +2 ) >"${1}" 2>/dev/null ; }
^-------^ SC2009 (info): Consider using pgrep instead of grepping ps output.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1492:
mypidof () { ps -eaf | while read user pid ppid c stime tty time cmd extra; do
^--^ SC2162 (info): read without -r will mangle backslashes.
^--^ SC2034 (warning): user appears unused. Verify use (or export if used externally).
^-- SC2034 (warning): c appears unused. Verify use (or export if used externally).
^-^ SC2034 (warning): tty appears unused. Verify use (or export if used externally).
^--^ SC2034 (warning): time appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1495:
[ "${extra%% *}" = "$1" ] && echo $pid
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "${extra%% *}" = "$1" ] && echo "$pid"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1497:
[ "${cmd%% *}" = "$1" ] && echo $pid
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "${cmd%% *}" = "$1" ] && echo "$pid"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1504:
local tmpfile=${tmpdir}/distpkgoffile.$$.tmp
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local tmpfile="${tmpdir}"/distpkgoffile.$$.tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1505:
rpm -qf $1 >$tmpfile
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rpm -qf "$1" >"$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1506:
read x < $tmpfile
^--^ SC2162 (info): read without -r will mangle backslashes.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
read x < "$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1507:
rm $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm "$tmpfile"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1512:
rpm -qi $1
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rpm -qi "$1"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1592:
${tcpdumpcmd} ${tcpdumpopts} ${tmpdir}/debug.pcap ${pcap_iface:+$pcapifparm} ${pcap_iface} ${pcap_params} &
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${tcpdumpcmd} "${tcpdumpopts}" "${tmpdir}"/debug.pcap ${pcap_iface:+$pcapifparm} "${pcap_iface}" "${pcap_params}" &
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1601:
${trace} -o ${tmpdir}/trace.${i}.txt -p ${i} &
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${trace} -o "${tmpdir}"/trace."${i}".txt -p "${i}" &
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1614:
printf "Start countdown: ${pad}" >&
^-----------------------^ SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1615:
for i in $( seq ${waitforit} -1 1 ); do printf "${bs}${pad:${#i}}$i" >&3 ; sleep 1 ; done
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------------------^ SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
^----------^ SC3057 (warning): In POSIX sh, string indexing is undefined.
Did you mean:
for i in $( seq "${waitforit}" -1 1 ); do printf "${bs}${pad:${#i}}$i" >&3 ; sleep 1 ; done
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1617:
touch ${tmpdir}/syslog.debug
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
touch "${tmpdir}"/syslog.debug
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1626:
${trace} -o ${tmpdir}/trace.dbg.txt ${syslogbin} ${debug_params} >>${tmpdir}/syslog.debug 2>&1 &
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${trace} -o "${tmpdir}"/trace.dbg.txt "${syslogbin}" "${debug_params}" >>"${tmpdir}"/syslog.debug 2>&1 &
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1633:
${syslogbin} ${debug_params} >>${tmpdir}/syslog.debug 2>&1 &
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${syslogbin} "${debug_params}" >>"${tmpdir}"/syslog.debug 2>&1 &
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1637:
${syslogbin} ${debug_params} >>${tmpdir}/syslog.debug 2>&1 &
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${syslogbin} "${debug_params}" >>"${tmpdir}"/syslog.debug 2>&1 &
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1645:
tail -f ${tmpdir}/syslog.debug >&3 &
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
tail -f "${tmpdir}"/syslog.debug >&3 &
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1653:
read line
^--^ SC2162 (info): read without -r will mangle backslashes.
^--^ SC2034 (warning): line appears unused. Verify use (or export if used externally).
For more information:
https://www.shellcheck.net/wiki/SC2034 -- ACTIVE appears unused. Verify use...
https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...
https://www.shellcheck.net/wiki/SC2124 -- Assigning an array to a string! A...