title: Removing of multi line comments while preserving the line numbers
body: <p>I am using this to remove the multiline comments.</p>
  
  <pre><code>awk '/^--/ {next} /^\/\*/ &amp;&amp; /\*\/$/{next} /^\/\*/{c=1;next} /\*\/$/{c=0;next} !c{FS="--|\/\*";a=$1;FS="\\*\\/";a=a$2;$0=a;print}' filename
  </code></pre>
  
  <p>Input is like this</p>
  
  <pre><code>aaaaaaa
  /*bbbbb*/
  ccccccc
  /*bbbbb
  bbbbbb*/
  ddddd
  </code></pre>
  
  <p>I want it to be like</p>
  
  <pre><code>aaaaaaa 
  
  ccccccc
  
  
  dddddd
  </code></pre>
  
  <p>but im getting</p>
  
  <pre><code>aaaaaaa
  ccccccc
  ddddddd
  </code></pre>
  
  <p>Can anyone pls help me ....</p>
  
  <p>Thanks</p>