var=0
arr=(
\""str 1\""
\""str 2\""
$(
if [[ $var == 1 ]]; then
echo \""str 3\""
echo \""str 4\""
else
echo \""str 5\""
echo \""str 6\""
fi
)
\""str 7\""
)
arr2=(
\""str 1\""
\""str 2\""
)
echo ${arr2[@]}
echo ${#arr2[@]}
echo ${arr[@]}
echo ${#arr[@]}
dmFyPTAKYXJyPSgKCVwiInN0ciAxXCIiCglcIiJzdHIgMlwiIgoJJCgKCQlpZiBbWyAkdmFyID09IDEgXV07IHRoZW4KCQkJZWNobyBcIiJzdHIgM1wiIgoJCQllY2hvIFwiInN0ciA0XCIiCgkJZWxzZQoJCQllY2hvIFwiInN0ciA1XCIiCgkJCWVjaG8gXCIic3RyIDZcIiIKCQlmaQoJKQoJXCIic3RyIDdcIiIKKQoKYXJyMj0oCglcIiJzdHIgMVwiIgoJXCIic3RyIDJcIiIKKQoKZWNobyAke2FycjJbQF19CmVjaG8gJHsjYXJyMltAXX0KCmVjaG8gJHthcnJbQF19CmVjaG8gJHsjYXJyW0BdfQo=