shell 数组
test_vec=(1 2 aaa) echo ${test_vec[*]} for i in ${test_vec[*]} do echo $i done unset test_vec echo ${test_vec[*]} 1 2 aaa 1 2 aaa
test_vec=(1 2 aaa) echo ${test_vec[*]} for i in ${test_vec[*]} do echo $i done unset test_vec echo ${test_vec[*]} 1 2 aaa 1 2 aaa