shell to duplicate on column 基于某列的 重复

 sort -k1.5,1.22 -u 1.txt  > 2.txt

取出 第五列到第22列重复的

 

start from 5 until 22

uniq -s 5 -w 22 1.txt

 

posted @ 2020-12-31 16:03  kakaisgood  阅读(87)  评论(0编辑  收藏  举报