$ sort file1.txt file2.txt | uniq -d > matches.txt
In reply to Re: Comparing strings (exact matches) in LARGE numbers FAST
by repellent
in thread Comparing strings (exact matches) in LARGE numbers FAST
by perlSD
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |