title: How to Combine lines of the file in linux?
body: <p>I Currently have a file in below format </p>
  
  <pre><code>state  :  CONNECTED ,
  state  :  CONNECTED ,
  state  :  CONNECTED ,
  Rno  :  5554f1d2-6f1b
  Rno  :  10587563-4181
  Rno  :  be6312f7-b4df
  </code></pre>
  
  <p>I want it to be in below format , how do we do this using linux commands ?</p>
  
  <pre><code>state : CONNECTED ,Rno : 5554f1d2
  state : CONNECTED ,Rno : 10587563
  state : CONNECTED ,Rno : be6312f7
  </code></pre>
  
  <p>Note : Spaces after state and : should also be removed .</p>