title: Using variables as part of variable name in unix
body: <p>I want to name variable as <code>a_${v}</code>.</p>
  
  <p>for example :  v can be 2013 2014</p>
  
  <p>I am now declaring a variable to <code>a_${v}</code></p>
  
  <pre><code>a_${v}=hI # a_2013 should be Hi
  
  v=2014
  </code></pre>
  
  <p>so <code>a_${v}=Hello # a_2014</code> should be Hello</p>
  
  <p>I tried using eval command though it is not throwing error while assigning a value but I am not able to extract the value of variable name</p>
  
  <pre><code>$ v=2013
  
  $ eval a_${v}=Hi
  
  
  $ v=2014
  
  $ eval a_${v}=Hello
  
  echo ${a_${v}}
  </code></pre>
  
  <p>is not working.. :(</p>
  
  <p>I am using bash and I don't want to change the variable name i.e dn't want to assign the value to another value </p>