In /usr/bin/strace-log-merge line 38:
	local file suffix
        ^---------------^ SC2039: In POSIX sh, 'local' is undefined.


In /usr/bin/strace-log-merge line 52:
	local suffix len
        ^--------------^ SC2039: In POSIX sh, 'local' is undefined.


In /usr/bin/strace-log-merge line 56:
	if [ $len -gt $max_suffix_length ]; then
             ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$len" -gt $max_suffix_length ]; then


In /usr/bin/strace-log-merge line 63:
	local suffix file pid
        ^-------------------^ SC2039: In POSIX sh, 'local' is undefined.


In /usr/bin/strace-log-merge line 67:
	pid=$(printf "%-*s" $max_suffix_length $suffix)
                            ^----------------^ SC2086: Double quote to prevent globbing and word splitting.
                                               ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	pid=$(printf "%-*s" "$max_suffix_length" "$suffix")


In /usr/bin/strace-log-merge line 77:
[ $max_suffix_length -gt 0 ] || {
  ^----------------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
[ "$max_suffix_length" -gt 0 ] || {

For more information:
  https://www.shellcheck.net/wiki/SC2039 -- In POSIX sh, 'local' is undefined.
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...