mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-24 17:17:56 +01:00
commit bash-20120406 snapshot
This commit is contained in:
1 parent
1bb5d5c699
commit
ed3f3b6c22
41 files changed
+49724
-3105
No files matched your search
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
func1(){
|
||||
declare -g variable='function'
|
||||
declare -g -a array=(function)
|
||||
echo ${variable} ${array[@]}
|
||||
}
|
||||
|
||||
declare -g variable='main'
|
||||
declare -g -a array=(main)
|
||||
echo ${variable} ${array[@]}
|
||||
func1
|
||||
echo ${variable} ${array[@]}
|
||||
Reference in new issue
Block a user