I pushed that patch, then tested on a Debian system with /bin/sh == dash. That exposed at least one more failure (pcre-utf8) due to use of printf with \xHH, so here's another patch to deal with that and the few others I found. There is also a tiny clean-up patch.