Re: comparing huge files

2006-03-17 Thread Frithiof Andreas Jensen
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > thanks for the reply, > I have used another method to solve my problem. ie > 1) get the total count of the first file > 2) write this total count to basecnt eg basecnt > 3) get another file, get the total count of this file. eg filecnt

Re: comparing huge files

2006-03-16 Thread s99999999s2003
thanks for the reply, I have used another method to solve my problem. ie 1) get the total count of the first file 2) write this total count to basecnt eg basecnt 3) get another file, get the total count of this file. eg filecnt 4) if filecnt > basecnt, read in the values from file[basecnt:filecnt]

Re: comparing huge files

2006-03-15 Thread James Stroud
[EMAIL PROTECTED] wrote: > hi > i wrote some code to compare 2 files. One is the base file, the other > file i got from somewhere. I need to compare this file against the > base, > eg base file > abc > def > ghi > > eg another file > abc > def > ghi > jkl > > after compare , the base file will be

comparing huge files

2006-03-15 Thread s99999999s2003
hi i wrote some code to compare 2 files. One is the base file, the other file i got from somewhere. I need to compare this file against the base, eg base file abc def ghi eg another file abc def ghi jkl after compare , the base file will be overwritten with "jkl". Also both files tend to grow tow