My array won't read a two-word element as one single element even with quotes?

前端 未结 0 1111
误落风尘
误落风尘 2021-01-02 06:08

I have

validCandidates=(Tweety Homer Snoopy Popeye "Bugs Bunny")

for i in ${validCandidates[@]}
do
        echo $i
done

which gave

相关标签:
回答
  • 消灭零回复
提交回复
热议问题