On Mon, Feb 11, 2019 at 4:35 PM Jeff King <peff@xxxxxxxx> wrote: > > Ah, doubly puzzling. It works fine in my Debian dash (but fnmatch was > enabled in 0.5.8-1 there, too). FWIW, it is reported by both checkbashisms and shellcheck if "linting" could be considered of help to track these kind of issues. other "portability" issues seem safe, mainly because they are either silly (like the use of local) or meant to be used only with bash (as on the mingw specific functions or the bash version check that was broken recently for NetBSD) but the functions run_with_limited_{cmdline,stack} that use `ulimit -s` might be worth looking into Carlo