Re: Java algorithm (diff) question.



nebiyou1@xxxxxxxxx wrote:
I have two CSV files (file1 and file2).
Each file contains 50,000 + lines. Each line is very long.
The first entry in each line is a key as shown in the example below.

Example:
key1,val1,val2,val3....
key2,val1,val2,val3.....
etc

I would like to do a "diff"(unix like) between file1 and file2 and
find out
the lines that are different. The entries in each file are not
necessarily sorted by key.

Start here:

http://citeseer.ist.psu.edu/myers86ond.html

BugBear
.



Relevant Pages

  • Re: Recent Projects on Start Page
    ... tried changing the number of recent items to display from 10 to 1 and then ... t see anything after the first entry you delete until it's regenerated ... If you need some of the later entries, ... would guess you can use a cut and paste to recreate the File2 value as ...
    (microsoft.public.vsnet.general)
  • Java algorithm (diff) question.
    ... I have two CSV files (file1 and file2). ... The entries in each file are not ... To generate the hashcode for each line and use the key and the ...
    (comp.lang.java.programmer)
  • Re: replace the contents of file1 to file2.
    ... explor wrote: ... I need replace the contents of file1 to file2. ... Basically i need to replace the entries in file2 by ...
    (comp.unix.shell)
  • Re: joining files
    ... file1 has total 4 column but some of them are missing in few row. ... So What I want in the output is only those entries which is coming ...
    (comp.lang.python)
  • Re: Finding Unique entries between two large files
    ... the second has 320,000 entries in it. ... # Print record from file2 if you have not seen this record in file1 ...
    (comp.unix.shell)