title: Unable to keep commands with special characters in sed
body: <p>I want to find and replace all trademark symbols enclosed in double quotesin a file by double quotes</p>
  <p>When I fire this command in Linux box its working fine.<br></p>
  <pre><code>sed -i 's/\&quot;®&quot;/\&quot;&quot;/g' filename
  </code></pre>
  <p>But when I copy this command in a script using vi, it's getting pasted as <br></p>
  <pre><code>sed -i 's/\&quot;Â®&quot;/\&quot;&quot;/g'
  </code></pre>
  <p>How to fix it.</p>
  <p>I have kept this command directly in datastage job after sub routine but it is not working.</p>