1UNIQ(1)                          User Commands                         UNIQ(1)
2
3
4

NAME

6       uniq - report or omit repeated lines
7

SYNOPSIS

9       uniq [OPTION]... [INPUT [OUTPUT]]
10

DESCRIPTION

12       Discard  all but one of successive identical lines from INPUT (or stan‐
13       dard input), writing to OUTPUT (or standard output).
14
15       Mandatory arguments to long options are  mandatory  for  short  options
16       too.
17
18       -c, --count
19              prefix lines by the number of occurrences
20
21       -d, --repeated
22              only print duplicate lines
23
24       -D, --all-repeated[=delimit-method]
25              print              all              duplicate              lines
26              delimit-method={none(default),prepend,separate}  Delimiting   is
27              done with blank lines.
28
29       -f, --skip-fields=N
30              avoid comparing the first N fields
31
32       -i, --ignore-case
33              ignore differences in case when comparing
34
35       -s, --skip-chars=N
36              avoid comparing the first N characters
37
38       -u, --unique
39              only print unique lines
40
41       -w, --check-chars=N
42              compare no more than N characters in lines
43
44       --help display this help and exit
45
46       --version
47              output version information and exit
48
49       A field is a run of whitespace, then non-whitespace characters.  Fields
50       are skipped before chars.
51

AUTHOR

53       Written by Richard Stallman and David MacKenzie.
54

REPORTING BUGS

56       Report bugs to <bug-coreutils@gnu.org>.
57
59       Copyright © 2007 Free Software Foundation, Inc.
60       This is free software.  You may redistribute copies  of  it  under  the
61       terms       of       the      GNU      General      Public      License
62       <http://www.gnu.org/licenses/gpl.html>.  There is NO WARRANTY,  to  the
63       extent permitted by law.
64

SEE ALSO

66       The  full documentation for uniq is maintained as a Texinfo manual.  If
67       the info and uniq programs are properly installed  at  your  site,  the
68       command
69
70              info uniq
71
72       should give you access to the complete manual.
73
74
75
76GNU coreutils 6.9                 March 2008                           UNIQ(1)
Impressum