I am looking for script to compare a new entry from File2 in File1:
I have Two files, once file (File1) contains e-mail ids which are already sorted and another file (File2) contains new e-mail ids received, I want to see if those ids (File2) are already existed in file1. Can I get a shell script or program for that?
File1:
xyz1@email.com
xyz2@yahoo.com
xyz3@gmailcom
FILE2:
abc@gmail.com
abc1@gmail.com
I want to insert all FILe2 entried into File1, if entry exists in File1, then I want to ignore.