file: extract data after finding string match
- From: Niv <kev.parsons@xxxxxxxxxx>
- Date: 27 Apr 2007 07:22:49 -0700
I currently read a set of (similar) files, containing only addresses
as @000000 etc, or byte data in successive lines. I copy the files to
a list and then strip out all data in the list(s) up to and including
a particular address, @300000.
The lists are later compared to a different list for exact match of
byte data.
However, is there a better way to read the file into the list(s) so I
don't have to replace the unwanted list data with null data?
file example:
@000000
F1
C4
54
34
65
@100000
43
56
76
87
@300000
F1
49
DE
E5
i.e. I want all the byte data from after the @300000 and nothing else
n my list(s).
.
- Follow-Ups:
- Re: file: extract data after finding string match
- From: Bruce Hartweg
- Re: file: extract data after finding string match
- Prev by Date: Re: Can TK be iSexy?
- Next by Date: Re: file: extract data after finding string match
- Previous by thread: TCL Yahoo Finance's Whereabouts
- Next by thread: Re: file: extract data after finding string match
- Index(es):
Relevant Pages
|