Found that printf %b as used in whitespace printing is not portable between Dash and Bash.  Changed to %s which works adequately.