in reply to Re: Read strings from a file, search and replace same string in another file.
in thread Read strings from a file, search and replace same string in another file.

Not a good idea. In your version FILE2 is reread many times from disk even though file2 is already available in @file2. But worse, FILE3 will be written as many times as file1 has lines and only the last version will survive.

  • Comment on Re^2: Read strings from a file, search and replace same string in another file.