V
V
viktorross2019-09-26 06:51:30
macOS
viktorross, 2019-09-26 06:51:30

How can you remove one email database from another in macOS?

I have a base of subscribers and a base of those who unsubscribed, how can I quickly remove one base from another? I used to have a program for windows that did it in a fraction of a second, but now I'm working on mac and it no longer fits here

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Q
q2zoff, 2019-09-26
@viktorross

sort -u sub.txt > sub.tmp
sort -u unsub.txt > unsub.tmp
comm -2 -3 sub.tmp unsub.tmp > result.txt
rm *.tmp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question