Open file with two columns and dynamically create variables
<p>I'm wondering if anyone can help. I've not managed to find much in the way of examples and I'm not sure where to start coding wise either.</p>

<p>I have a file with the following contents...</p>

<pre><code>VarA=/path/to/a
VarB=/path/to/b
VarC=/path/to/c
VarD=description of program
...
</code></pre>

<p>The columns are delimited by the '=' and some of the items in the 2nd column may contain gaps as they aren't just paths.</p>

<p>Ideally I'd love to open this in my script once and store the first column as the variable and the second as the value, for example...</p>

<pre><code>echo $VarA
...
/path/to/a


echo $VarB
...
/path/to/a
</code></pre>

<p>Is this possible or am I living in a fairy land?</p>

<p>Thanks</p>