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