摘要: 取出两个文件中不同的部分: cat 1.txt 2.txt | sort | uniq -u > 3.txt 1.txt 12345678 2.txt 6789 3.txt 123459 1. 取出两个文件的并集(重复的行只保留一份) cat file1 file2 | sort | uniq 2. 阅读全文
posted @ 2016-06-28 16:36 Hello_2018 阅读(855) 评论(0) 推荐(0) 编辑