title: How can I reference a file for variables using Bash?
body: <p>I want to call a settings file for a variable. How can I do this in Bash?</p>
  <p>The settings file will define the variables (for example, CONFIG.FILE):</p>
  <pre><code>production=&quot;liveschool_joe&quot;
  playschool=&quot;playschool_joe&quot;
  </code></pre>
  <p>And the script will use these variables in it:</p>
  <pre><code>#!/bin/bash
  production=&quot;/REFERENCE/TO/CONFIG.FILE&quot;
  playschool=&quot;/REFERENCE/TO/CONFIG.FILE&quot;
  sudo -u wwwrun svn up /srv/www/htdocs/$production
  sudo -u wwwrun svn up /srv/www/htdocs/$playschool
  </code></pre>
  <p>How can I get Bash to do something like that? Will I have to use <a href="https://en.wikipedia.org/wiki/AWK" rel="nofollow noreferrer">AWK</a>, <a href="https://en.wikipedia.org/wiki/Sed" rel="nofollow noreferrer">sed</a>, etc.?</p>