[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue with Bash-4.3 Official Patch 27
From: |
Chet Ramey |
Subject: |
Re: Issue with Bash-4.3 Official Patch 27 |
Date: |
Thu, 16 Oct 2014 09:05:41 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
On 10/15/14, 9:38 AM, Lorenz.Bucher.ext@rohde-schwarz.com wrote:
> Hello,
> in refer to
> http://lists.gnu.org/archive/html/bug-bash/2014-09/msg00278.html variables
> with suffix "%%" can't be set/exported.
> This makes problems restoring environments which where saved by external
> programs like printenv (see example below)
This trick -- which was always fragile because printenv is not a robust
way to do this -- will not work any more. One of the reasons we
implemented the new exported function name encoding scheme was to avoid
name collisions with exported variables.
You can use `export -f' to generate a function definition and declaration
that you can save in a file for later use.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
- Re: Issue with Bash-4.3 Official Patch 27, (continued)
- Re: Issue with Bash-4.3 Official Patch 27, Lorenz . Bucher . ext, 2014/10/15
- Re: Issue with Bash-4.3 Official Patch 27, Eric Blake, 2014/10/15
- Re: Issue with Bash-4.3 Official Patch 27, Chet Ramey, 2014/10/16
- Re: Issue with Bash-4.3 Official Patch 27, Geir Hauge, 2014/10/16
- Re: Issue with Bash-4.3 Official Patch 27, Chet Ramey, 2014/10/17
- Re: Issue with Bash-4.3 Official Patch 27, Lorenz . Bucher . ext, 2014/10/17
- Re: Issue with Bash-4.3 Official Patch 27, Greg Wooledge, 2014/10/17
- Re: Issue with Bash-4.3 Official Patch 27, Chet Ramey, 2014/10/17
- Re: Issue with Bash-4.3 Official Patch 27, Chet Ramey, 2014/10/17
Re: Issue with Bash-4.3 Official Patch 27, Steve Simmons, 2014/10/15
Re: Issue with Bash-4.3 Official Patch 27,
Chet Ramey <=