Hey now...!!
I have a text file that is formatted like this:
00 120 SDF
1)Fuel pump inop
2)#2 Hyd pump leak
30 250 ONT
1)#2 Main wheel cut
I'm tryin' re-format the file to look like this:
00 120 SDF 1)Fuel pump inop
00 120 SDF 2)#2 Hyd pump leak
30 250 ONT 1)#2 Main wheel cut
For each line that starts with 00 or 10 or 20 or 30 - for each line underneath that, append it at the end of previous line, and repeat it till the next line with 00 or 10 or 20 or 30...
I hope this makes sense...!!
Any suggestions or examples...??
Thanks in advance..!!
jcw5107
I have a text file that is formatted like this:
00 120 SDF
1)Fuel pump inop
2)#2 Hyd pump leak
30 250 ONT
1)#2 Main wheel cut
I'm tryin' re-format the file to look like this:
00 120 SDF 1)Fuel pump inop
00 120 SDF 2)#2 Hyd pump leak
30 250 ONT 1)#2 Main wheel cut
For each line that starts with 00 or 10 or 20 or 30 - for each line underneath that, append it at the end of previous line, and repeat it till the next line with 00 or 10 or 20 or 30...
I hope this makes sense...!!
Any suggestions or examples...??
Thanks in advance..!!
jcw5107