Join Lines Matching + Sign, Number of lines with plus sign will differ. : <p>I having the following output and i want to join the lines which is having plus sign. Number of lines with plus sign will differ. I wanted to achieve this in Linux using sed or awk or any other tool. </p>

<p>From</p>

<pre><code>----------------------------------
lab-test
0193 + 
8000 + 
0126 + 
----------------------------------
prod-test
0295 + 
13000 + 
0869 + 
0118 + 
----------------------------------
</code></pre>

<p>Change it to</p>

<pre><code>----------------------------------
lab-test
0193 + 8000 + 0126 +
----------------------------------
prod-test
0295 + 13000 + 0869 + 0118 + 
----------------------------------
</code></pre>
