[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 <eblake@redhat.com> 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.
jon.
- Re: handling of test == by BASH's POSIX mode, (continued)
- Re: handling of test == by BASH's POSIX mode, Geir Hauge, 2012/05/27
- Re: handling of test == by BASH's POSIX mode, Jon Seymour, 2012/05/27
- Re: handling of test == by BASH's POSIX mode, Andreas Schwab, 2012/05/27
- Re: handling of test == by BASH's POSIX mode, Jon Seymour, 2012/05/27
- Re: handling of test == by BASH's POSIX mode, Jon Seymour, 2012/05/27
- Re: handling of test == by BASH's POSIX mode, Dan Douglas, 2012/05/27
- Re: handling of test == by BASH's POSIX mode, Jon Seymour, 2012/05/27
- Re: handling of test == by BASH's POSIX mode, Eric Blake, 2012/05/28
- Re: handling of test == by BASH's POSIX mode,
Jon Seymour <=
Re: handling of test == by BASH's POSIX mode, Eric Blake, 2012/05/28