title: Wildcard in variable, Shell bash, how to do ? Variable=$variable2*
body: <p>For me it worked:</p>
  
  <pre><code>diretorio=$(echo 'test 123'*)
  </code></pre>
  
  <p>but not worked when i used variable in quotes</p>
  
  <pre><code>Var2="test 123" 
  diretorio=$(echo '$Var2'*)
  </code></pre>
  
  <p>How to solve it?</p>