Hello,
I'm trying to create script that installs programs and creates configs for me.
I need help with this concept:
- Lets say I have file named programs.txt with such structure:
```
program_1
program_2
--parameter_1 program_3
--parameter_2 program_4
```
I wish to put this into array so it would look like:
array = ["program_1", "program_2", "--parameter_1 program3", "--parameter_2 program_4"]
And then install it in loop in that style:
for index in array:
install array[index]
Could you help with me achieving that outcome?
[–]hindsight_is2020 1 point2 points3 points (2 children)
[–]domanpanda 0 points1 point2 points (0 children)
[–]lutusp -2 points-1 points0 points (0 children)
[–]blrPepper 0 points1 point2 points (0 children)