Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
How to delete the lines in file1 containing lines of the form mail: first name: last name: age that are contained in file2 where just mail is indicated
grep -f file2.txt -v file1.txt >output.txt
join -v 1 -t: <(sort файл1) <(sort файл2)
the output will be lexicographically sorted.
man join
man sort
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question