求文件交集差集

假设有A, B两个文件
A B 交集
cat A B | sort | uniq -d

B - A
cat A A B | sort | uniq -u

猜你喜欢

转载自blog.csdn.net/SeaSky_Steven/article/details/86542566