file1, file2, file3 aret the source files. I want to search the records in the file searchRecords. The records which are not present in source files should be my output.
With the above example, expected output is
output
This will merge all the first three files (removing duplicates) and then find all records in searchRecords which are not in the combined file mergedfile.
I hooe that this helps, but if I have the logic wrong, please correct me.