Answer the question
In order to leave comments, you need to log in
Proper use of diff?
Good afternoon friends.
There are 2 files in the first (a) file contains the entire list of data, for example:
99991111.ini
99992222.ini
99993333.ini
99994444.ini.
And in the second file (u):
99991111.ini
99993333.ini
(in fact, in the first file ~ 4k lines, in the second ~ 1.8)
I need the values that are in file u to be removed from file a ,
i.e. : 9999222.ini
9999444.ini
I tried diff ./a ./u > ./sw.diff , but apparently I did not fully understand how diff works and I got, of course, the wrong result.
Actually a question: whether it is possible to achieve such result by means of diff'a and how?
Or if you have other suggestions - I will be very glad to hear them, thanks.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question