文本处理时,经常要删除重复行,下面是三种方法第一,用sort+uniq,注意,单纯uniq是不行的。 sort -n test.txt | uniq 第二,用sort+awk命令,注意,单纯awk同样不行 ...
確定! 回上一頁