How to "clean up" a file ?
Posted: Tue Oct 17, 2000 5:32 pm
I have a file which contains records in the following format:
FILE: DNTSCTA.DAT
SIZE:1025, read:1025
FILE: DNTSW2S.K01
SIZE:1024, read:1024
FILE: DNTSW2S.K03
SIZE:1024, read:1024
FILE: DNTSW2S.K04
SIZE:1024, read:1024
FILE: DNTSW2S.K05
SIZE:1024, read:1024
What I would like to do is end up with:
DNTSCTA.DAT
DNTSW2S.K01
DNTSW2S.K03
DNTSW2S.K04
DNTSW2S.K05
Any suggestions on how to do that are greatly appreciated.
Thank you.
Pete
FILE: DNTSCTA.DAT
SIZE:1025, read:1025
FILE: DNTSW2S.K01
SIZE:1024, read:1024
FILE: DNTSW2S.K03
SIZE:1024, read:1024
FILE: DNTSW2S.K04
SIZE:1024, read:1024
FILE: DNTSW2S.K05
SIZE:1024, read:1024
What I would like to do is end up with:
DNTSCTA.DAT
DNTSW2S.K01
DNTSW2S.K03
DNTSW2S.K04
DNTSW2S.K05
Any suggestions on how to do that are greatly appreciated.
Thank you.
Pete