title: Hi . I a new to unix scripting, can someone one help me on the below
body: <p>I have two files.</p>
  
  <p>file 1-- this is sql generate file with | delimiter </p>
  
  <pre><code>sabari|27|22-12-1990|CHENNAI|
  Siva|29|13-11-1989|CHENNAI|
  </code></pre>
  
  <p>File 2 - I have created hard core file</p>
  
  <pre><code>Sabari|-|-|-|-|
  
  Siva|-|-|-|-|
  
  Ravi|-|-|-|-|
  
  Bali|-|-|-|-|
  </code></pre>
  
  <p>I want to compare and place the value in File-1 from File-2 if the value not in f1. </p>
  
  <p>Desired Out put</p>
  
  <pre><code>sabari|27|22-12-1990|CHENNAI|
  
  Siva|29|13-11-1989|CHENNAI|
  
  Ravi|-|-|-|-|
  
  Bali|-|-|-|-|
  </code></pre>
  
  <p>Can some one help me /</p>