title: replacing multiple line pattern in sed
body: <p>I simply want to do following</p>
  
  <p>replace</p>
  
  <pre><code>EXTRATHING {
  };
  </code></pre>
  
  <p>by</p>
  
  <pre><code>SOMETHING {};
  </code></pre>
  
  <p>in inputfile. For this, I tried </p>
  
  <pre><code>sed -e 's/EXTRATHING {\n};/SOMETHING/' input_file.txt  &gt;outfile.txt
  </code></pre>
  
  <p>This doesn't work. Can someone suggest what would be the correct way of doing this with sed?</p>