Hi ,
I'm looking for a way to merge two lines only for a given pattern / condition.
Input :
abcd/dad + -49.201 2.09 -49.5 34 ewrew rewtre *
fdsgfds/dsgf/sdfdsfasdd +
-4.30 0.62 -49.5 45 sdfdsf cvbbv *
sdfds/retret/asdsaddsa +
-48.42 5.91 -4.86 21 fgjh dfgfh *
sdfds/tryr + -47.00 9.48 -48.5 43 gfhh bmbfd *
Output :
abcd/dad + -49.201 2.09 -49.5 34 ewrew rewtre *
fdsgfds/dsgf/sdfdsfasdd + -4.30 0.62 -49.5 45 sdfdsf cvbbv *
sdfds/retret/asdsaddsa + -48.42 5.91 -4.86 21 fgjh dfgfh *
sdfds/tryr + -47.00 9.48 -48.5 43 gfhh bmbfd *
File contains ~20K lines. Here the merging of 2 lines happen only when there is no other character after "+".
Thanks for any help