title: Escaping special characters in bash
body: <p>I have this command in a bash script:</p>
  
  <pre><code>sudo java -jar ./myjar.jar name_%1$tY%1$tm.csv ./sql/blablab.sql someArgument
  </code></pre>
  
  <p>or</p>
  
  <pre><code>sudo java -jar ./myjar.jar "name_%1$tY%1$tm.csv" ./sql/blablab.sql someArgument
  </code></pre>
  
  <p>Any of these two commands will yield these 3 arguments:</p>
  
  <pre><code>Arguments :   name_%1%1.csv  ./sql/blablab.sql  someArgument
  </code></pre>
  
  <p>As you can see, <code>%</code> and/or <code>$</code> did not get escaped. I'm looking for a way to escape them.</p>
  
  <p>Best regards</p>