|
Thanks for your help vgersh99
But it is not working
I will explain my problem with an example
Here is the input file
$cat input.dat
|a|b
c|d|
|e|f|i|
|h|i|j|
and out put should be like this
$cat output.dat
|a|bc|d|
|e|f|i|
|h|i|j|
Here the first two lines have been joined since new line is not in between |
Thanks in advance
Shihab
|