I have 4 files.
What I need to do is remove all lines from master excepting those that do NOT occur within any of the other three files (p1,p2,p3). So in this case master would end up with...
Ive tried numerous combinations of looping the the different files but just can't get my head around it.
Can anyone give me a hand?