

            uniq (1) --- eliminate successive identical lines        02/22/82


            _U_s_a_g_e

                 uniq [-n]


            _D_e_s_c_r_i_p_t_i_o_n

                 'Uniq'  is  used  to strip adjacent duplicate lines from its
                 standard input.  The resulting text is  copied  to  standard
                 output.  'Uniq' is usually used to eliminate redundant lines
                 from a sorted file.

                 If the "-n" option is specified, 'uniq' counts the number of
                 occurrences  of  each  line.   The  count  is  placed  right
                 justified in the first five columns of the output,  suitable
                 for  sorting  or further manipulation with 'change', 'find',
                 or 'field'.


            _E_x_a_m_p_l_e_s

                 words> sort | uniq -n


            _M_e_s_s_a_g_e_s

                 "Usage:  uniq ..."  for invalid argument syntax.


            _B_u_g_s

                 Does not handle lines of length greater than MAXLINE.


            _S_e_e _A_l_s_o

                 sort (1), speling (1)





















            uniq (1)                      - 1 -                      uniq (1)


