title: Deleting echo line in bash
body: <pre><code>var=ab
  echo -n "$var"
  </code></pre>
  
  <p>Output: <code>ab</code></p>
  
  <pre><code>var=abc
  echo "$var"
  </code></pre>
  
  <p>Output: <code>ababc</code></p>
  
  <p>I want to delete the first <code>ab</code> and replace it by <code>abc</code></p>
  
  <p>How would I do that?</p>
  
  <p>Regards, intelinside</p>