In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/humidity_status.sh line 21:
while [ $i -lt $nbr_of_humidity_sensors ]; do
^----------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
while [ $i -lt "$nbr_of_humidity_sensors" ]; do
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/humidity_status.sh line 27:
hum=$(echo $hum)
^----------^ 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:
hum=$(echo "$hum")
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/humidity_status.sh line 31:
printf "Sensor S%d: %.0f %%\n" $i $hum
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
printf "Sensor S%d: %.0f %%\n" $i "$hum"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/humidity_status.sh line 35:
i=$(($i + 1))
^-- SC2004 (style): $/${} is unnecessary on arithmetic variables.
For more information:
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti...
https://www.shellcheck.net/wiki/SC2116 -- Useless echo? Instead of 'cmd $(e...