2009/2/15 Jeff King <peff@xxxxxxxx>: > On Sun, Feb 15, 2009 at 05:11:40PM +0100, Thomas Rast wrote: >> Is there a "bare minimum" POSIX shell that I can run the tests under, >> to save myself such embarassment in the future? > > Using "dash" will catch bash-isms, and is pretty commonly available, I > think. But this behavior, IIRC, happens on FreeBSD's /bin/sh, which is > derived from "ash" (so is "dash", but I they have long since diverged). > > There are even more quirks on more exotic systems, I expect, though I > have to admit that I gave up on Solaris and just started using bash > there. :) > > So I don't think there is a catch-all shell that will help you, but some > "ash" variant is probably your best bet. posh? http://packages.debian.org/lenny/posh I've heard that if you unset POSIXLY_CORRECT it just sits there and hums until you set it again. 8-) Mike -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html