mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-13 23:20:49 +02:00
Bash-4.3 distribution sources and documentation
This commit is contained in:
@@ -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