title: How to disable dot replacement in bash?
body: <p>I want to run MySQL query from bash script to create new user:</p>
  
  <pre><code>mysql -u root -p$dbpass -e "GRANT ALL PRIVILEGES ON appdb_${BUILD}.* TO appuser@localhost IDENTIFIED BY 'somepass'"
  </code></pre>
  
  <p>Where $BUILD variable is set to a number, for example 15, so final query should look like this:</p>
  
  <pre><code>mysql -u root -p$dbpass -e "GRANT ALL PRIVILEGES ON appdb_15.* TO appuser@localhost IDENTIFIED BY 'somepass'"
  </code></pre>
  
  <p>But... in directory where script is and is run there is a tar archive with same name as database, so query becomes like this:</p>
  
  <pre><code>mysql -u root -p$dbpass -e "GRANT ALL PRIVILEGES ON appdb_15.tar.gz TO appuser@localhost IDENTIFIED BY 'somepass'"
  </code></pre>
  
  <p>I guess this happens because there is a match, but changing file name is not an option. Moving script to other directory is not allowed too.</p>
  
  <p>I tried to escape dot with backslashes (<code>appdb_${BUILD}\.*</code>) - nothing changed.</p>
  
  <p>How I can fix this?</p>