Hi,
I want to delete the contents of a file which are matching with contents of other file in shell scripting.
Ex.
file1
sheel,sumit,1,2,3,4,5,6,7,8
sumit,rana,2,3,4,5,6,7,8,9
grade,pass,2,3,4,5,6,232,1,1
name,sur,33,1,4,12,3,5,6,8
sheel,pass,2,3,4,5,6,232,1,1
File2
grade,pass,2,3,4,5,6,232,1,1
sheel,pass,2,3,4,5,6,232,1,1
so i want to delete contents of file 1 by reading line by line from file2
Could any one please suggest as i need urgent help on this.
Thanks in Advance!!!!!