Hello,
Could someone help me with sed. I have searched solution already 5 days and cant find. Unfortunately my "sed" knowledge not god enough. I have the text:
-----
123,foo, bar,short text,date,stable_pattern
124,foo2, bar2, long text
with few
lines,date, stable_pattern
125,foo3,bar3,short text, date, stable_pattern
----------------------
I neet to join string in one line for records which has long text (like 124 record). output should be:
123,foo, bar,short text,date,stable_pattern
124,foo2, bar2, long text with few lines,date, stable_pattern
125,foo3,bar3,short text, date, stable_pattern
--------------------------------
Please help me, thanks