文件内容:
i0_HQ_c27/f3p0/888 i0_HQ_c27/f3p0/888 100 886 0 0 1 886
i0_HQ_c27/f3p0/888 i0_HQ_c78/f2p0/893 96.067 534 21 0 158 691
i0_HQ_c27/f3p0/888 i0_LQ_c146/f1p0/748 95.021 241 11 1 452 691
i0_HQ_c27/f3p0/888 i0_LQ_c146/f1p0/748 95.395 152 7 0 158 309
i0_HQ_c27/f3p0/888 i3_LQ_c32595/f1p14/3464 96.087 690 25 2 2 691
i0_HQ_c29/f3p0/729 i0_HQ_c29/f3p0/729 100 731 0 0 1 731
i0_HQ_c30/f2p0/962 i0_HQ_c30/f2p0/962 100 963 0 0 1 963
根据第二列内容删除整行,如果第二列连续两行或多行相同,则保留;如果不连续相同,则删除整行。最后得到:
i0_HQ_c27/f3p0/888 i0_LQ_c146/f1p0/748 95.021 241 11 1 452 691
i0_HQ_c27/f3p0/888 i0_LQ_c146/f1p0/748 95.395 152 7 0 158 309