uniq

UNIQ(1)                            ç¨æ·å½ä»¤                           UNIQ(1)



å称
       uniq - æ¥åæçç¥éå¤è¡

æ¦è¿°
       uniq [é项]... [è¾å¥ [è¾åº]]

æè¿°
       ä»è¾å¥æ件ï¼ææ åè¾å¥ï¼çéä¸ç»ç¸é»çå¹éè¡ï¼åå¥å°è¾åºæ件ï¼ææ åè¾åºï¼ã

       å¦æ²¡ææå®é项ï¼ååªä¿çä¸ç»å¹éè¡ä¸ç第ä¸è¡ã

       å¿éåæ°å¯¹é¿çé项åæ¶éç¨ã

       -c, --count
              æ¯è¡åéä¸éå¤åºç°ç次æ°ä½ä¸ºåç¼

       -d, --repeated
              ä»æ¾ç¤ºéå¤è¡ï¼æ¯ç»ä¸ä¸ª

       -D     æ¾ç¤ºææéå¤çè¡

       -D, --all-repeated[=METHOD]
              类似
              -Dï¼ä½æ¯å许使ç¨ç©ºè¡å¯¹å个ç»è¿è¡åéï¼METHOD={none(default),prepend,separate}

       -f, --skip-fields=N
              æ¯è¾æ¶è·³è¿å N 个å

       --group[=METHOD]
              æ¾ç¤ºææè¡ï¼ç¨ä¸ä¸ªç©ºè¡åéæ¯ä¸ç» METHOD={separate(default),
              prepend, append, both}

       -i, --ignore-case
              æ¯è¾æ¶å¿½ç¥å¤§å°å

       -s, --skip-chars=N
              æ¯è¾æ¶è·³è¿å N 个å符

       -u, --unique
              åªæ¾ç¤ºä¸éå¤çè¡

       -z, --zero-terminated
              以 NUL ä½ä¸ºè¡çåé符ï¼èéæ¢è¡ç¬¦

       -w, --check-chars=N
              对æ¯è¡ç¬¬ N 个å符以åçå容ä¸ä½æ¯è¾

       --help æ¾ç¤ºæ¤å¸®å©ä¿¡æ¯å¹¶éåº

       --version
              æ¾ç¤ºçæ¬ä¿¡æ¯å¹¶éåº

       åæä¸ä¸ªç±ç©ºå符ï¼é常æ¯ç©ºæ ¼å/æå¶è¡¨ç¬¦ï¼åç´§éçé空å‐
       符ç»æçåºåãåæ¶ä½¿ç¨è·³è¿ååè·³è¿å符é项æ¶ï¼åè·³è¿ååè·³è¿å符ã

       注æï¼âuniqâåªæ£æµé£äºç¸é»çéå¤è¡ãä½ æ许éè¦å对è¾å¥æåºï¼æè使ç¨âsort
       -uâèéâuniqâãå¦å¤ï¼æ¯è¾çç»åä¼ä¾æ®âLC_COLLATEâææå®çè§åã

ä½è
       ç± Richard M. Stallman å David MacKenzie ç¼åã

æ¥åé误
       GNU coreutils çå¨çº¿å¸®å©ï¼ <http://www.gnu.org/software/coreutils/>
       请å <http://translationproject.org/team/zh_CN.html> æ¥å uniq
       çç¿»è¯é误ã

çæ
       Copyright © 2017 Free Software Foundation, Inc.  License GPLv3+: GNU
       GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
       This is free software: you are free to change and redistribute it.
       There is NO WARRANTY, to the extent permitted by law.

åè§
       comm(1), join(1), sort(1)

       å®æ´æ档请è§ï¼ <http://www.gnu.org/software/coreutils/uniq>
       æèå¨æ¬å°ä½¿ç¨ï¼ info '(coreutils) uniq invocation'

è·
       æ¬é¡µé¢ä¸æçç±ä¸æ man æå页计åæä¾ã
       ä¸æ man æå页计åï¼https://github.com/man-pages-zh/manpages-zh



GNU coreutils 8.28                2017å¹´10æ                           UNIQ(1)