title: Error when using 'sed' with 'find' command on OS X: "invalid command code ."
body: <p>Being forced to use CVS for a current client and the address changed for the remote repo. The only way I can find to change the remote address in my local code is a recursive search and replace.</p>
  
  <p>However, with the sed command I'd expect to work:</p>
  
  <pre><code>find ./ -type f -exec sed -i "s/192.168.20.1/new.domain.com/" {} \;
  </code></pre>
  
  <p>I get an error for every file:</p>
  
  <pre><code>sed: 1: ".//file/path ...": invalid command code .
  </code></pre>
  
  <p>I've tried to escape the periods in the sed match/replacement but that doesn't solve anything.</p>