[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Issue with Bash-4.3 Official Patch 27
From: |
Lorenz . Bucher . ext |
Subject: |
Issue with Bash-4.3 Official Patch 27 |
Date: |
Wed, 15 Oct 2014 15:38:01 +0200 |
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)
I saw this issue on Ubuntu 12.04 with
bash version GNU bash, version 4.2.25(1)-release (x86_64-pc-linux-gnu)
examples:
$ foo() { echo "bar"; }
$ export -f foo
$ echo "export BASH_FUNC_foo%%='$(printenv BASH_FUNC_foo%%)'" | tee ./env
export BASH_FUNC_foo%%='() { echo "bar"
}'
$ source ./env
bash: export: `BASH_FUNC_foo%%=() { echo "bar"
}': not a valid identifier
$ export BASH_FUNC_foo%%='() { echo "bar"; }'
bash: export: `BASH_FUNC_foo%%=() { echo "bar"; }': not a valid
identifier
$ export BASH_FUNC_foo='() { echo "bar"; }'
bucher_l@zim:/vobs/1GP1AdminVob/Tools/ldapadmin$ echo $BASH_FUNC_foo
() { echo "bar"; }
- Issue with Bash-4.3 Official Patch 27,
Lorenz . Bucher . ext <=
- Re: Issue with Bash-4.3 Official Patch 27, Eduardo A . Bustamante López, 2014/10/15
- Re: Issue with Bash-4.3 Official Patch 27, Greg Wooledge, 2014/10/15
- 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