i want to do the content of 1.txt minus 2.txt and output that in 3.txt. Also if 2.txt has extra remaining lines, output it in 4.txt.
The content of the text files are not ordered line by line, so basically the code needs to remove the matching line only, like this:
1.txt contains:
example1
example2
example3
2.txt contains:
example2
example3
example4
3.txt will contain:
example1
4.txt will contain:
example4