title: Want to replace a string only at first occurrence using sed
body: <p>I want to replace a special character (=) only at first occurrence.</p>
  
  <p>Example:</p>
  
  <pre><code>abc=abc.def=
  </code></pre>
  
  <p>Expected output is:</p>
  
  <pre><code>abc.def=
  </code></pre>
  
  <p>I tried the following command: <code>sed -e 's/\([^=]*\)\(=.*\)/\2/'</code> 
   but the output I am getting is: </p>
  
  <pre><code>=abc.def=
  </code></pre>