# 消除多个文本中的重复行 [root@dezohty ~]# cat A.txt B.txt | awk '!x[$0]++' > out.txt # 打印文本中重复的内容及其重复次数 [root@dezohty ~]# cat A.txt | sort | uniq -c
# 消除多个文本中的重复行 [root@dezohty ~]# cat A.txt B.txt | awk '!x[$0]++' > out.txt # 打印文本中重复的内容及其重复次数 [root@dezohty ~]# cat A.txt | sort | uniq -c
Powered by Atlassian Confluence 6.15.4, themed by Refined 7.0.4 京ICP备19028502号-1