title: grep from a input file, multiple lines while the input file has ^name
body: <p>I would really appreciate some help with this:</p>
  
  <p>I have a huge file, I will give you an example of how it is formatted:</p>
  
  <pre><code>name:lastname:email
  </code></pre>
  
  <p>I have a input file with lots of names set out like this example:</p>
  
  <pre><code>edward
  michael
  jenny
  </code></pre>
  
  <p>I want to match to name column from the huge file to the name in the input file, and only if it is an exact match (case insensitive) </p>
  
  <p>Once it finds a match I want it to output a .txt with all of the matchs</p>
  
  <p>I think I can use a command something like <code>^Michael:</code> to give it.</p>
  
  <p>Can anyone help me with this grep problem?</p>
  
  <p>sorry if I am not too clear its very late and I have been on this problem for ages</p>
  
  <pre><code>"Centos 5, "grep -i -E -f file.txt /root/dir2search &gt;out.txt"
  
  file.txt containing
  ^michael:
  ^bobert:
  ^billy:
  </code></pre>
  
  <p>Doesn't find anything.</p>