Experts,
i have a following file containing data in following manner.
1 2480434.4 885618.6 0.00 1948.00
40.00 1952.00
80.00 1961.00
120.00 1977.00
2 2480653.8 885738.3 0.00 1948.00
40.00 1952.00
4000.00 4938.00
4040.00 4938.00
3 2480873.3 885858.0 0.00 1948.00
40.00 1952.00
80.00 1961.00
4100.00 4938.00
Desired output is like below
2480434.4 885618.6 0 1948
2480434.4 885618.6 40 1952
2480434.4 885618.6 80 1961
2480434.4 885618.6 120 1977
2480653.8 885738.3 0 1948
2480653.8 885738.3 40 1952
2480653.8 885738.3 4000 4938
2480653.8 885738.3 4040 4938
2480873.3 885858 0 1948
2480873.3 885858 40 1952
2480873.3 885858 80 1961
2480873.3 885858 4100 4938
Any help/suggestion on the above request is highly appreciated . I tried a lot for good editing , but i think i am clear with my question above
Thanks & Regards