1
# test cases for array quoting and escaping fixed post bash-3.2-release
8
a2=("${a[@]/#/"-iname '"}")
19
a2=(${a[@]/#/"-iname '"})
39
# Prevent word splitting
42
a2=("${a[@]/#/"-iname '"}")
45
eval a2=("${a[@]/#/\"-iname \'\"}")
48
eval a2=("${a[@]/#/"-iname '"}")
51
a2=("${a[@]/#/-iname \'}")
54
eval a2=("${a[@]/#/-iname \'}")
59
a2=("${@/#/"-iname '"}")
62
eval a2=("${@/#/\"-iname \'\"}")
65
eval a2=("${@/#/"-iname '"}")
72
case $(ls ${pat[@]} 2>/dev/null) in
102
recho ${foo}"${array[@]}"
103
recho ${foo}${array[@]}
105
recho $(echo $foo)"$@"
108
a=('word1 with spaces' 'word2 with spaces')
109
set - ${a[@]/word/element}