Not sure how to word this...
So here is what I would like to do.
I have a data file with about 20 lines of this:
www.domain.com user@email.com
I need a way to read that file, take each line, and add it to a command.
So as an example I need it to do this with each line (simple):
echo www.domain.com user@email.com
Essentially what I will be doing is sending an email with the domain and email populated thoughout the text. So the script will be looking for the domain.com to be $1 and user@email.com be $2.
I have a data file with about 20 lines of this:
www.domain.com user@email.com
I need a way to read that file, take each line, and add it to a command.
So as an example I need it to do this with each line (simple):
echo www.domain.com user@email.com
Essentially what I will be doing is sending an email with the domain and email populated thoughout the text. So the script will be looking for the domain.com to be $1 and user@email.com be $2.
