The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 08-14-2007
eltinator eltinator is offline
Registered User
 

Join Date: Jul 2007
Posts: 54
Ok further testing shows that the grep has problems when List2 has a line with nothing on it. Basically it works when there are no blank lines so doing something like:

Dave

Bob
Jim
Tim

doesn't work. Is there any way to fix grep for this?
Reply With Quote