title: sed issue: -bash: syntax error near unexpected token `('
body: <p>I'm attempting to run this command:</p>
  
  <pre><code> sed -i ‘s/if (DEFINED CMAKE_TOOLCHAIN_FILE)/if (NOT DEFINED CMAKE_TOOLCHAIN_FILE)/g’ makefiles/cmake/arm-linux.cmake
  </code></pre>
  
  <p>But it seems my bash syntax is messed up when I copy that snippet from <a href="http://thinkrpi.wordpress.com/2013/05/22/opencvpi-cam-step-2-compilation/" rel="nofollow">http://thinkrpi.wordpress.com/2013/05/22/opencvpi-cam-step-2-compilation/</a> and I get this:</p>
  
  <pre><code>-bash: syntax error near unexpected token `('
  </code></pre>
  
  <p>Any idea why?</p>