Page 1 of 1

Compare 2 files and list only the diffrences

PostPosted: Sat Sep 05, 2009 12:46 pm
by Sanchari
Hi,
I would like to compare 2 files and the compare report generated should be formatted in such a way that it will only show the records which are different.
The user will give the column range to compare as input.
for eg, File A contains the foll:
aaaaaaaaaaaaaa 1245858 000000000000
bbbbbbbbbbbbb bbbbb dessses12458
ccccccccccccc cc55444 sssssssss2458
File B contains the foll:
aaaaaaaaaaaaaa 124t858 00000dd00000
bbbbbbbbbbbbb bbbbb dessses12458
ccccccccccccc cc56444 ssdssssss2458
I'd like to compre from column 19 to 40
My output file say File C will contain the following:
1245858 000000000000
124t858 00000dd00000

cc55444 sssssssss2458
cc56444 ssdssssss2458

note : I cant use icetool

Re: Compare 2 files and list only the diffrences

PostPosted: Tue Sep 22, 2009 6:22 pm
by Anuj Dhawan
Sugget you post the data 'gain with BBcode.