shell script echo text name in for looping multiple texts
I am trying to do this text1=”word1 word2 word3″ text2=”word4 word5″ text1=”word6 word7 word8″ for var in $text1 $text2 $text3 do echo $var” in “(__?__) done expected output word1 in text1 word2 …