Working on Files

view full story

http://www.unix.com – Hi, One of the program creating a file with the following information. $cat a.txt 1, AAA, 234 $ and I wrote a script whenever any of the the file exists with data then it will send a email to me. If I start the job second time, then the as per the logic it is sending the same data, I would like to write a script which will check if the same data is already sent in the previous mail then it should ignore and if any of the new records exists in the file then only the mail should go to the concerned person. could you please help me on this. I believe, after generating the file I may have to (HowTos)