Question:I have a txt document that contains a series of arguments that I want to pass to a script. Each argument is on a separate line. I want to make a BASH script that can concatenate these arguments (with white space between each one) and then execute the script with these concatenated arguments. This is the document (d.txt) content:
I have tried to do it in the following way but it gives me an error. Instead of concatenating the s
trings, it interprets them as commands. does anybody know how I can fix it?
If you have better answer, please add a comment about this, thank you!