title: Replace slash in Bash
body: <p>Let's suppose I have this variable:</p>
  <pre><code>DATE=&quot;04\Jun\2014:15:54:26&quot;
  </code></pre>
  <p>Therein I need to replace <code>\</code> with <code>\/</code> in order to get the string:</p>
  <pre><code>&quot;04\/Jun\/2014:15:54:26&quot;
  </code></pre>
  <p>I tried <code>tr</code> as follows:</p>
  <pre><code>echo &quot;04\Jun\2014:15:54:26&quot; | tr  '\' '\\/'
  </code></pre>
  <p>But this results in: <code>&quot;04\Jun\2014:15:54:26&quot;</code>.</p>
  <p>It does not satisfy me. Can anyone help?</p>