title: Sed search and replace syntax in Cygwin?
body: <p>I am trying to serch and replace using sed in Cygwin: </p>
  
  <pre><code>SRC_FOLDER_MAIN=bra
  TGT_FOLDER_MAIN=tag
  </code></pre>
  
  <p>but the following sed command does not work:</p>
  
  <pre><code>sed 's/${SRC_FOLDER_MAIN}/${TGT_FOLDER_MAIN}/g' externals.txt &gt; externals_mod.txt
  </code></pre>
  
  <p>This for example works OK (replaces "bra" with "tag"):</p>
  
  <pre><code>sed 's/bra/tag/g' externals.txt &gt; externals_mod.txt
  </code></pre>
  
  <p>What am I missing? </p>
  
  <p>Could it be that Cygwin is the problem?</p>