hi
i need some logic to solve a problem there are two array list.i have to compare the two array list and write the similar lines in both list and non similar lines in both the list in two separate files.
list 1 contains these lines from a file
ename eid evalue
S 01 S425
P 02 P637
C 03 C826
list2 contains these lines from another file
ename eid evalue
P 02 P637
E 04 E738
D 05 D369
the o/p file that should contain similar one should have
ename eid evalue
P 02 P637
the o/p file that should contain dissimilar ones should have
ename eid evalue
S 01 S425
C 03 C826
E 04 E738
D 05 D369
and how do i go about having "ename eid evalue" in both the files..
any suggestions please..