title: sed fails with errors
body: <p>I'm trying to replace the next string with sed in all the files in the current directory : (including apostrophe)
  'Control_Reports_Pg.C_Table_Title_Date'</p>
  
  <p>with the string : 
  timeofday()::varchar(250)</p>
  
  <p>I tried to escape the special characters ' ( ) with the command : </p>
  
  <pre><code>sed -i '\''Control_Reports_Pg.C_Table_Title_Date\''/timeofday\(\)::varchar\(250\)/g' *
  </code></pre>
  
  <p>The error I got : <code>sed: -e expression #1, char 22: unknown command:</code>_'</p>
  
  <p>I read online that I dont need to escape underscore so what can I do ? When I try to escape underscore with \ i also get an error :</p>
  
  <pre><code>sed -i 'Pg.C\_Table\_Title_Date\''/timeofday\(\)::varchar\(250\)/g' *
  sed: -e expression #1, char 24: unknown command: `\'
  </code></pre>
  
  <p>Thanks..</p>