title: bash one variable for another
body: <p>I would like to do in bash something I was doing with perl years ago</p>
  
  <p>$4 (value from a script) can have the value <code>"S"</code> or <code>"U"</code></p>
  
  <p>I have:</p>
  
  <pre><code>DirectoryU="$Directory/*.$2"
  DirectoryS="$Directory/area $3/*.$2"
  </code></pre>
  
  <p>and I want to define "DirectoryC" to something like:</p>
  
  <pre><code>DirectoryC=Directory$4
  </code></pre>
  
  <p>but there I dont want DirectoryC=DirectoryU (or DirectoryS) I want DirectoryC to have the value of DirectoryU (or DirectoryS) so after I can base my script on $DirectoryC ...</p>
  
  <p>Does it make sense?</p>