A
A
alexanderssss2021-06-22 22:07:54
Text Processing Automation
alexanderssss, 2021-06-22 22:07:54

There are two files, how to remove lines from file1 that already exist in file2?

I have two lang-files, the first one I edited, and the second is a template one, how can I remove all the lines that are no different from the lines in the template file?
For example:

This is the template file:

text1.name=Текст, который я отредактирую
text2.name=Текст, который я оставлю без изменений


I edited it:
text1.name=Текст, который я отредактировал
text2.name=Текст, который я оставлю без изменений


Bottom line:
text1.name=Текст, который я отредактировал

Maybe this can somehow be done with code, I'm not good at programming.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question