Re: bash 4.x filters out environmental variables containing a dot in the
From:
Eric Blake
Subject:
Re: bash 4.x filters out environmental variables containing a dot in the name
Date:
Tue, 21 Aug 2012 10:50:42 -0600
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0
On 08/21/2012 05:45 AM, Ondrej Oprala wrote:
> Hi,
> unless this bug is already fixed in some way
>https://groups.google.com/forum/?fromgroups=#!topic/gnu.bash.bug/xpZl_-eiFCY
>
> ...I've created a tiny patch that should fix it.
Sorry, but this would violate POSIX, which requires that '.' is not part
of a valid variable name. Just because ksh allows it as an extension to
POSIX does not mean that bash has to do likewise.
--
Eric Blake eblake@redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc Description: OpenPGP digital signature