Given a config file, IterVars.txt, of the following format, I need to create a script that will call three of the variables listed.
[itervars]
idx1 = 13.0
trigger1 = True
trigger2 = False
startres = 0.123456789
endres = 0.000000123
I've tried several key value variable assignment explanations I found here, but it seems all of them have an issue with the spaces in the file, in that it interprets text after the space as a new command. How do I call these variables in a shell script as:
$idx1=13.0
$trigger1=True
$trigger2=False