UNIQ(1)                          User Commands
UNIQ(1)



NNAAMMEE
       uniq - report or omit repeated lines

SSYYNNOOPPSSIISS
       uunniiqq [_O_P_T_I_O_N]... [_I_N_P_U_T
       [_O_U_T_P_U_T]]

DDEESSCCRRIIPPTTIIOONN
       Discard  all but one of successive identical lines
       from INPUT (or stan‐ dard input), writing to OUTPUT
       (or standard output).

       Mandatory arguments to long options are  mandatory
       for  short  options too.

       --cc, ----ccoouunntt
              prefix lines by the number of occurrences

       --dd, ----rreeppeeaatteedd
              only print duplicate lines

       --DD,
       ----aallll--rreeppeeaatteedd[=_d_e_l_i_m_i_t_-_m_e_t_h_o_d]
              print              all
              duplicate              lines
              delimit-method={none(default),prepend,separate}
              Delimiting   is done with blank lines.

       --ff, ----sskkiipp--ffiieellddss=_N
              avoid comparing the first N fields

       --ii, ----iiggnnoorree--ccaassee
              ignore differences in case when comparing

       --ss, ----sskkiipp--cchhaarrss=_N
              avoid comparing the first N characters

       --uu, ----uunniiqquuee
              only print unique lines

       --ww, ----cchheecckk--cchhaarrss=_N
              compare no more than N characters in lines

       ----hheellpp display this help and exit

       ----vveerrssiioonn
              output version information and exit

       A field is a run of whitespace, then non-whitespace
       characters.  Fields are skipped before chars.

AAUUTTHHOORR
       Written by Richard Stallman and David MacKenzie.

RREEPPOORRTTIINNGG BBUUGGSS
       Report bugs to <bug-coreutils@gnu.org>.

CCOOPPYYRRIIGGHHTT
       Copyright © 2006 Free Software Foundation, Inc.
       This is free software.  You may redistribute
       copies  of  it  under  the terms       of
       the      GNU      General      Public      License
       <http://www.gnu.org/licenses/gpl.html>.  There is NO
       WARRANTY,  to  the extent permitted by law.

SSEEEE AALLSSOO
       The  full documentation for uunniiqq is
       maintained as a Texinfo manual.  If the iinnffoo
       and uunniiqq programs are properly installed  at
       your  site,  the command

              iinnffoo uunniiqq

       should give you access to the complete manual.



uniq 6.7                         December 2006
UNIQ(1)
