How to compare two flat files and get changed data

Hi,

I need to compare two flat files (yesterday & today's data) and get only the changed data from flat files. In flat file i dont have data column or anything its just a string data in flat file.Can any one please let me know the script

With Regds
Shashi

diff yesterdays.file todays.file

HI,

The diff command will list both the file content indicating where exactly the data are changed or there is a difference. By this data we need to format and getonly the changed data in second file, can you let me know how to do it

With regds
Shashi

diff yesterdays.file todays.file | grep "^>"