title: Dynamic Variable assignmenet in ShellScript - How to?
body: <p>I have two variables in my bash script</p>
  <pre><code>CAR_PRICE=50000
  BIKE_PRICE=20000
  </code></pre>
  <p>I am passing a command line argument while executing my .sh shell script file.</p>
  <pre><code>--vehicletype CAR  or --vehicletype BIKE
  </code></pre>
  <p>I am able to read the vehicletype value in the script  and store in another varible</p>
  <pre><code>VEHICLE_TYPE=&lt;VALUE PASSED FROM COMMAND LINE ARG i.e CAR/BIKE
  </code></pre>
  <p>Now I am trying to dynamically read  CAR_PRICE or BIKE_PRICE using following syntax</p>
  <pre><code>${${VEHICLE_TYPE}_PRICE} 
  </code></pre>
  <p>to get the values of the params subtituting the first part of the variable
  dynamically based on the value passwed ie but it is throwing <strong>Bad Substitution error</strong>.</p>
  <p>I tried several ways but nothing seem to work. I am new to shell script and not sure if such
  dynamic substitution is supported in bash script.</p>
  <p>Any pointers would be helpful.</p>