Hi,
I am trying to concatenate lines with special ending character =, to be able to reverse the result. Example:
Original file:
KBTV 141354Z 18008KT 10SM CLR 13/06 A2993 RMK AO2 SLP136 T01330061 =
KBTV 141454Z 20009KT 10SM FEW120 15/06 A2990 RMK AO2 SLP126 ACSL S-N T01500061
58018 =
KBTV 141554Z 17010KT 10SM FEW120 17/06 A2987 RMK AO2 SLP114 ACC DSNT SW ACSL
ALQDS T01720056 =
KBTV 141654Z 19011G19KT 10SM SCT120 18/06 A2984 RMK AO2 SLP105 ACC W ACSL ALQDS
T01780061 =
I want to concatenate lines beginning with KBTV up to the line ending with a =
Is there a way to do that using sed or awk?
Thanks
Christian