Hi,
I have 2 files. I need to read a line from the File 1 and check for it in File 2. If it is present, I need to delete that line from File 2.
File 1
A1
B1
C1
File 2
A1 ABCDEF
S1 EEE
C1 EFGH
D1 XYQ
Now, I need to read A1, go to file 2, search for it there and since it is present, I need to delete it from File 2.
Result of File 2 after the operation:
S1 EEE
D1 WXQ