I have a number of jl files created from a series of ‘for’ loops, specifying different properties. They basically look something like
a, 1, 50
a, 1, 60
a, 1, 70
a, 2, 50
a, 2, 60
a, 2, 70
b, 1, 50
b, 1, 60
and so on, except each file specifies different properties. Is there a way to
- systematically pick out one line from each jl file to form all possible combinations (say the first line of files X, Y, and Z, and then the first line of X and Y, but the second line of Z, etc.)
- and automatically create a new folder that stores (or rather, prints) the lines from each combination?
The idea is basically that I have lists of all possible outcomes (the lines) for different scenarios (the jl files), and I want to automate the process of combining different outcomes from the scenarios into a folder which can later be read by another jl file to produce a result.
I apologize beforehand if this question is unclear. I’m very new to Julia and am pretty inexperienced at coding, so any help would be deeply appreciated. Thank you.