for loop with multiline data

view full story

http://unix.stackexchange.com – I need to create a script with a loop through a list of items i want to insert as a string in the script. i tried for i in " a b c"; do echo "test "$i done but that only outputs one string: test a b c How would I get this? testa testb testc (a, b and c are just evamples for some longer words, I got from an ooffice calc file) (HowTos)