I have two files.
file 1-- this is sql generate file with | delimiter
sabari|27|22-12-1990|CHENNAI|
Siva|29|13-11-1989|CHENNAI|
File 2 - I have created hard core file
Sabari|-|-|-|-|
Siva|-|-|-|-|
Ravi|-|-|-|-|
Bali|-|-|-|-|
I want to compare and place the value in File-1 from File-2 if the value not in f1.
Desired Out put
sabari|27|22-12-1990|CHENNAI|
Siva|29|13-11-1989|CHENNAI|
Ravi|-|-|-|-|
Bali|-|-|-|-|
Can some one help me /