removing duplicate of second file
Posted: Thu Dec 22, 2016 9:30 pm
I have two files, in one file I have some inputs which are duplicates in some position and in second file I have some records.
I need records in output file which not contains all that record which present in the second file.
example file 1
001 5827 34
002 5456 24
003 5456 27
004 2463 28
005 2463 25
006 2463 24
file 2
444 1234 23
234 1345 23
234 2463 21
expected output:
001 5827 34
002 5456 24
003 5456 27
As in have only from position 4 to 8 which is having common data in both the files.
I need records in output file which not contains all that record which present in the second file.
example file 1
001 5827 34
002 5456 24
003 5456 27
004 2463 28
005 2463 25
006 2463 24
file 2
444 1234 23
234 1345 23
234 2463 21
expected output:
001 5827 34
002 5456 24
003 5456 27
As in have only from position 4 to 8 which is having common data in both the files.