In /usr/bin/deb3 line 46: : ${PATCH_LEVEL=0} ^--------------^ SC2223: This default assignment may cause DoS due to globbing. Quote it. In /usr/bin/deb3 line 62: COUNT_OLD=$(ls -1 debian/patches/* | wc -l) ^--------------------^ SC2012: Use find instead of ls to better handle non-alphanumeric filenames. In /usr/bin/deb3 line 63: COUNT_NEW=$(ls -1 debian/patches/* | wc -l) ^--------------------^ SC2012: Use find instead of ls to better handle non-alphanumeric filenames. In /usr/bin/deb3 line 69: quilt import -P $p.patch debian/patches/$p.dpatch ^-- SC2086: Double quote to prevent globbing and word splitting. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: quilt import -P "$p".patch debian/patches/"$p".dpatch In /usr/bin/deb3 line 70: AUTHOR=$(dpatch cat --author-only $p.dpatch) ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: AUTHOR=$(dpatch cat --author-only "$p".dpatch) In /usr/bin/deb3 line 71: DESC=$(dpatch cat --desc-only $p.dpatch) ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: DESC=$(dpatch cat --desc-only "$p".dpatch) In /usr/bin/deb3 line 72: echo "Author: $AUTHOR" | quilt header -r $p.patch ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "Author: $AUTHOR" | quilt header -r "$p".patch In /usr/bin/deb3 line 73: echo "Description: $DESC" | quilt header -a $p.patch ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "Description: $DESC" | quilt header -a "$p".patch In /usr/bin/deb3 line 76: $GITCOM add debian/patches/$p.patch ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: $GITCOM add debian/patches/"$p".patch In /usr/bin/deb3 line 79: COUNT_OLD=$(ls -1 debian/patches/*.dpatch | wc -l) ^---------------------------^ SC2012: Use find instead of ls to better handle non-alphanumeric filenames. In /usr/bin/deb3 line 80: COUNT_NEW=$(ls -1 debian/patches/*.patch | wc -l) ^--------------------------^ SC2012: Use find instead of ls to better handle non-alphanumeric filenames. In /usr/bin/deb3 line 95: quilt import -p $PATCH_LEVEL -P $q $p ^-- SC2086: Double quote to prevent globbing and word splitting. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: quilt import -p $PATCH_LEVEL -P "$q" "$p" In /usr/bin/deb3 line 99: $GITCOM add $p ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: $GITCOM add "$p" In /usr/bin/deb3 line 102: COUNT_OLD=$(ls -1 debian/patches-old/* | wc -l) ^------------------------^ SC2012: Use find instead of ls to better handle non-alphanumeric filenames. In /usr/bin/deb3 line 103: COUNT_NEW=$(ls -1 debian/patches/* | wc -l) ^--------------------^ SC2012: Use find instead of ls to better handle non-alphanumeric filenames. For more information: https://www.shellcheck.net/wiki/SC2012 -- Use find instead of ls to better ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2223 -- This default assignment may cause...