|
UNIX Guru's help on diff
Hi ,
I wanted to find delata between two huge ( 8 GB ) files . Say file_TDY and file_YDY : These files are sorted based on a key .
I am using a command :
1)bdiff file_TDY file_YDY > diff_file
2) grep ' ^< ' diff_file > TDY_delta
I wanted only the changed records and newly added records file_TDY
with respect to file_YDY . But apparently even records that are not changed are also coming in the delta file .( Due to the difference in position of records) . How do I tackle this sitaution .
Thanks in Advance,
Ajay
|