Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 2
    paste FooFile BarFile | xargs -n 2 ./dothis.sh??? Commented Mar 26, 2019 at 20:47
  • Do you want to dothis.sh for each possible combination of foo and bar or only combine them for the same line number? When you want each combination, move done < FooFile towards the end of the script (after the other done) Commented Mar 26, 2019 at 23:14
  • Using the paste command did help. Thank you everyone for the help. Commented Apr 3, 2019 at 15:26