bug-bash
[Top][All Lists]
Advanced

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

Re: export in posix mode


From: Eric Blake
Subject: Re: export in posix mode
Date: Wed, 27 Feb 2013 13:05:47 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3

On 02/27/2013 11:07 AM, James Mason wrote:
> I certainly could be doing something wrong, but it looks to me like bash
> - when in Posix mode - does not suppress the "-n" option for export.  
> The version of bash that I'm looking at is 3.2.25.

So what?  Putting bash in posix mode does not require bash to instantly
prohibit extensions.  POSIX intentionally allows for implementations to
provide extensions, and 'export -n' is one of bash's extensions.
There's no bug here, since leaving the extension always enabled does not
conflict with subset of behavior required by POSIX.

-- 
Eric Blake   eblake redhat com    +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]