cat file1.txt file2.txt >file3.txt
sort file3.txt | uniq >newfile.txt
newfile即为去重后的文件
本文转自 simeon2005 51CTO博客,原文链接:http://blog.51cto.com/simeon/1949188
cat file1.txt file2.txt >file3.txt
sort file3.txt | uniq >newfile.txt
newfile即为去重后的文件
本文转自 simeon2005 51CTO博客,原文链接:http://blog.51cto.com/simeon/1949188