I have two files file1 and file2. File 1 has 2000 entries and file 2 has 5000 odd entried. I want to find out what are the common things between two files and also find what are the extra items in file2. How could i Do this in awk. Simple diff does not work as the line to l;ine comparsioon is not valid in this case.