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
signature.asc
Description: OpenPGP digital signature