I need to make a script to transform the following:Name = x:yZ =  a:b.cZ1 = a1:b1.c1EndName=x1:y1Z2 = a2:b2.c2Z3 = a3:b3.c3Z4 = a4:b4.c4EndName = l:ks = w:e.vEndinto:x:y Z    a:b.cx:y Z1   a1:b1.c1x1:y1   Z2   a2:b2.c2x1:y1   Z3   a3:b3.c3x1:y1   Z4   a4:b4.c4l:k s    w:e.v
How to transform text such that each output line starts with the block's title?
shell script