[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: handling of test == by BASH's POSIX mode

From: Jon Seymour
Subject: Re: handling of test == by BASH's POSIX mode
Date: Tue, 29 May 2012 13:24:52 +1000

On Tue, May 29, 2012 at 1:08 AM, Eric Blake <address@hidden> wrote:
> 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.

Thanks, I'll check it out.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]