A
A
Alexander Ivanov2019-01-03 18:20:07
Text Processing Automation
Alexander Ivanov, 2019-01-03 18:20:07

How to subtract lines of one textbook from another?

I couldn't find exactly what I need on Google. There are two txt files, both with about 4 million lines. Task: subtract from the first file the lines that are in the second file, save the result in the third file, or save the result in the first. The whole difficulty is that there are a lot of lines and all sorts of online services do not cope with the task.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2019-01-03
@dimonchik2013

generally classic
https://shapeshed.com/unix-uniq/
https://www.geeksforgeeks.org/diff-command-linux-e...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question