In /usr/bin/pnmmargin line 35: if [ ! ${1-""} ] ; then ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ ! "${1-""}" ] ; then In /usr/bin/pnmmargin line 52: if [ ! ${1-""} ] ; then ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ ! "${1-""}" ] ; then In /usr/bin/pnmmargin line 59: if [ ${2-""} ] ; then ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ "${2-""}" ] ; then In /usr/bin/pnmmargin line 65: cat $@ > $tmp1 ^-- SC2068: Double quote array expansions to avoid re-splitting elements. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cat $@ > "$tmp1" In /usr/bin/pnmmargin line 70: pnmcut 0 0 1 1 $tmp1 | pnmtile $size 1 > $tmp2 ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: pnmcut 0 0 1 1 "$tmp1" | pnmtile "$size" 1 > "$tmp2" In /usr/bin/pnmmargin line 73: pbmmake $color $size 1 > $tmp2 ^----^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: pbmmake "$color" "$size" 1 > "$tmp2" In /usr/bin/pnmmargin line 76: ppmmake $color $size 1 > $tmp2 ^----^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: ppmmake "$color" "$size" 1 > "$tmp2" In /usr/bin/pnmmargin line 79: pnmflip -rotate90 $tmp2 > $tmp3 ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: pnmflip -rotate90 "$tmp2" > "$tmp3" In /usr/bin/pnmmargin line 82: pnmcat -lr $tmp2 $tmp1 $tmp2 > $tmp4 ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: pnmcat -lr "$tmp2" "$tmp1" "$tmp2" > "$tmp4" In /usr/bin/pnmmargin line 83: pnmcat -tb $tmp3 $tmp4 $tmp3 ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: pnmcat -tb "$tmp3" "$tmp4" "$tmp3" In /usr/bin/pnmmargin line 86: if [ -d $tmpdir ]; then ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ -d "$tmpdir" ]; then In /usr/bin/pnmmargin line 87: rm -rf $tmpdir; ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: rm -rf "$tmpdir"; For more information: https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...