title: How to replace a string in awk containing a linefeed?
body: <p>I want to process a text file using awk to replace "\n1-0" with " 1-0".</p>
  
  <p>**Wrong is:</p>
  
  <pre><code>awk '{gsub("\n1-0", " 1-0"); print}' temp.txt &gt;$TARGET
  </code></pre>
  
  <p>How can this be done? Would sed be a better choice?</p>