Hey everyone. I am tryiong to read in a configuration file into my script. It is using the following format:
[CONFIG1]
texthere
texthere
texthere
[/CONFIG1]
[CONFIG2]
texthere
texthere
texthere
[/CONFIG2]
I am trying to store into an array the values in between these delimiters, but am unsure how. Can anyone give me an idea? Thank you.
-Eric
[CONFIG1]
texthere
texthere
texthere
[/CONFIG1]
[CONFIG2]
texthere
texthere
texthere
[/CONFIG2]
I am trying to store into an array the values in between these delimiters, but am unsure how. Can anyone give me an idea? Thank you.
-Eric