ShellCheck - shell script analysis tool version: 0.11.0 license: GNU General Public License, version 3 website: https://www.shellcheck.net Redirect to /tmp/tmp.tLcdRK6xNY and /tmp/tmp.Ak7RR31Ntr Tree base: 01d72479ee42 ("hornet: Introduce gen_sig") Now at: 26646a0ec7c5 ("hornet: Add a light skeleton data extractor scripts") ====== Checking before the patch ====== ====== Checking the tree with the patch ====== Checking scripts/hornet/extract-insn.sh - c20637740dcad3948bb5b2cf71cea6b1c2be96f4dd689116d37682b485bd1341 In extract-insn.sh line 25: printf $(gcc -E $1 | grep "opts\.insns =" | \ ^-- SC2046 (warning): Quote this to prevent word splitting. ^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo". ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: printf $(gcc -E "$1" | grep "opts\.insns =" | \ For more information: https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2059 -- Don't use variables in the printf... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking scripts/hornet/extract-map.sh - 725f94c9b8dd91d8173b1a0145da27f39fbdaaebb5052ba2025b3e7001f27b2c In extract-map.sh line 25: printf $(gcc -E $1 | grep "opts\.data =" | \ ^-- SC2046 (warning): Quote this to prevent word splitting. ^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo". ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: printf $(gcc -E "$1" | grep "opts\.data =" | \ For more information: https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2059 -- Don't use variables in the printf... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking scripts/hornet/extract-skel.sh - ff9d7c95061ea422c646188de563c10396c21676baf4dd68ec4a6f2b0bc20534 In extract-skel.sh line 25: printf $(gcc -E $1 | grep "static const char opts_$2" | \ ^-- SC2046 (warning): Quote this to prevent word splitting. ^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo". ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: printf $(gcc -E "$1" | grep "static const char opts_$2" | \ For more information: https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2059 -- Don't use variables in the printf... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...