I have this bash script:
for opt in string1 string2 string3 ... string99 do somestuff
It works, but I would like to replace the explicit listing of my strings with a file which actually contains all the strings; something like this:
strings=loadFromFile for opt in $strings do somestuff
How should I do this?