Hi,
 In input.txt  "56500000001295;A9" is existing 7 times. But in output.txt
file I want only once. I don't want multiple times. 
  So for this first I have to check either this "56500000001295;A9" is
existing in output.txt or not. If it is not existing I have to write in
output.txt or else I have go to another line.

Thanks and Regards
Reddy

-----Original Message-----
From: Nathan Haigh [mailto:[EMAIL PROTECTED] 
Sent: 26 February 2007 17:14
To: Beri Veera-ext, Reddy
Cc: Thurn, Martin; Brian Raven; ActivePerl
Subject: [RMX:#] Re: [RMX:#] Re: How to compare two files and update to
second fil e

Beri Veera-ext, Reddy wrote:
> Hi,
>  I don't want to write to output.txt if it is existing.
>  Ex: If   "56500000001295;A9" is existing in output.txt then I don't want
to
> write the same once again.
>
> Thanks and Regards
> Reddy
>   

With the example files you posted previously, can you also supply what
you expect to see in the "output.txt" file at the end - the whole file.
This way, we can see exactly what you are hoping to achieve.

Thanks
Nathan
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to