title: Joining lines in a text file
body: <p>Need some help with developing a script to join lines in a text file, ie</p>
  
  <pre><code>Blah
  \Blah Blah\Bhal
  1
  
  Blah2
  \Blah Blah\Blah2
  600
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>Blah:\Blah Blah\Bhal:1
  Blah2:\Blah Blah\Blah2:2
  </code></pre>
  
  <p>Output was generated via a DOS batch file, but I can also do the parsing in BASH if it will be any easier. </p>