concatenate lines using shell scripting

Shell Programming and Scripting




Kindly Note - This is a Single User Post by Forum Member dtdt Regarding:
concatenate lines using shell scripting.
Please Follow The Primary Link Above to View the Full Discussion.

   
Old 09-06-2009
dtdt dtdt is offline
Registered User
 
concatenate lines using shell scripting

i have a mega file in this format:

a,
b,
c,
d,
=
a2,
b2,
c2,
d2,
=
a3,
b3
=

i want to combine lines until = meet. the result should be :
a,b,c,d,
a2,b2,c3,d2
a3,b3

need your help. thanks