[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: Eric Blake
Subject: Re: handling of test == by BASH's POSIX mode
Date: Mon, 28 May 2012 09:03:16 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

On 05/27/2012 01:15 AM, Jon Seymour wrote:
> Is there a reason why bash doesn't treat == as an illegal test
> operator when running in POSIX mode?

Because POSIX doesn't forbid extensions.  Furthermore, POSIX is
considering the standardization of ==:


at which point, the use of == would be required to work.

Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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