On 05/27/2012 07:09 AM, Jon Seymour wrote: > I understand that the behaviour is unspecitied by POSIX - I didn't > know that before, but I know that now - thanks. > > That said, from the point of view of promoting interoperable scripts, > my view is that it (in an ideal world**) would be better if bash chose > to fail, while executing in POSIX mode, in this case.
Sounds like you want debian's 'posh', which is even stricter than 'dash', and excellent for pointing out use of extensions by failing loudly at any encountered extension, including == under test. -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature