I need to create a script with a loop through a list of items. I want to insert a string in the script.I tried:for i in abc;do echo test $idoneBut that only outputs one string:test a b cHow would I get this? testatestbtestc(a, b and c are just examples for some longer words, which I got from an OpenOffice Calc file)
for loop with multiline data
bash;for
export a=abcfor i in $a; do echo test$i;done