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 the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 02-09-2009
jolecanard jolecanard is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 36
Finally I found!! Just posting the message helped me figuring out the solution:

In the end of the first read file, it found an occurence of ^m2 (m201), and then when it closes the first file and opens the second one, it keeps looking for "92238", and it finds it in the block "m1".

To solve this problem, just need to use ^m2$ instead of ^m2 .