]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/builtins3.sub
Bash-4.3 patch 7
[thirdparty/bash.git] / tests / builtins3.sub
CommitLineData
495aee44
CR
1# declare -g added in bash-4.2
2f=4
3
4foo()
5{
6 declare -g f=8
7 declare -g bar=4
8
9 echo inside
10}
11
12echo before: f = $f
13foo
14echo after: f = $f bar = $bar