Jon Seymour <jon.seym...@gmail.com> writes:

> As it stands, I can't use bash's POSIX mode to verify the validity or
> otherwise of a POSIX script because bash won't report these kinds of
> errors - even when running in POSIX mode.

You can't do that anyway: POSIX mode does not disable proper extensions
to POSIX, only those that conflict with POSIX.  Specifically, in the
case of the test utility, POSIX makes the behaviour unspecified when a
three argument invocation does not match the POSIX-defined binary
operators.

> There is an --enable-strict-posix (?) configuration option. Will this do
> what I expect?

That just switches the default for POSIX mode.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to