I'm running a scripts on a text file, and I want to merge its contents. Let's say that the file is called "file1".
This is some text, wow!
Now I have few versions after running scripts.
My<> is some text, wow!
Yours<> is some text, wow!
This is some txt<>, wow!
As you can see, some words are changed to another, and have <> added. Now I want to merge these files, so that the words are merged if they got changed:
My<>Yours<> is some txt<>, wow!
The order doesn't really matter; they just have to be merged. Is there tool that could make this easy?