I have a file that contain data structure as below:
L,13206,11,02,06,000,3981.100
19,22,25,26,19
END
L,13207,11,02,06,000,6561.000
22,24,7,8,9,25,22
END
K,1,P
-18970.811,53728.643,BKL,,e-Coord,M
END
so how can i extract 1 and -18970.811,53728.643 and export it into a new output file with new structured as below:
C 1 -18970.811 53728.643
For your information, the value for -18970.811,53728.643 will be placed after string K,1,P or K,2,P or any number between K and P...
One more thing is i want to append that new formatted data into old ready file that already contain old data... new formatted data will be append to the top of the old file..