========== shellcheck - FAILED ====== Checking before the patch ====== ====== Checking the tree with the patch ====== scripts/hornet/extract-map.sh is a new file, but not shellcheck compliant scripts/hornet/extract-insn.sh is a new file, but not shellcheck compliant scripts/hornet/extract-skel.sh is a new file, but not shellcheck compliant New errors added --- /tmp/tmp.tLcdRK6xNY 2025-12-10 22:34:18.524467736 -0500 +++ /tmp/tmp.Ak7RR31Ntr 2025-12-10 22:34:18.674466622 -0500 @@ -0,0 +1,42 @@ + +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 ... + +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 ... + +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 ...