Tizen 2.0 Release
[external/tizen-coreutils.git] / man / uniq.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
2 .TH UNIQ "1" "March 2007" "GNU coreutils 6.9" "User Commands"
3 .SH NAME
4 uniq \- report or omit repeated lines
5 .SH SYNOPSIS
6 .B uniq
7 [\fIOPTION\fR]... [\fIINPUT \fR[\fIOUTPUT\fR]]
8 .SH DESCRIPTION
9 .\" Add any additional description here
10 .PP
11 Discard all but one of successive identical lines from INPUT (or
12 standard input), writing to OUTPUT (or standard output).
13 .PP
14 Mandatory arguments to long options are mandatory for short options too.
15 .TP
16 \fB\-c\fR, \fB\-\-count\fR
17 prefix lines by the number of occurrences
18 .TP
19 \fB\-d\fR, \fB\-\-repeated\fR
20 only print duplicate lines
21 .TP
22 \fB\-D\fR, \fB\-\-all\-repeated\fR[=\fIdelimit\-method\fR]
23 print all duplicate lines
24 delimit\-method={none(default),prepend,separate}
25 Delimiting is done with blank lines.
26 .TP
27 \fB\-f\fR, \fB\-\-skip\-fields\fR=\fIN\fR
28 avoid comparing the first N fields
29 .TP
30 \fB\-i\fR, \fB\-\-ignore\-case\fR
31 ignore differences in case when comparing
32 .TP
33 \fB\-s\fR, \fB\-\-skip\-chars\fR=\fIN\fR
34 avoid comparing the first N characters
35 .TP
36 \fB\-u\fR, \fB\-\-unique\fR
37 only print unique lines
38 .TP
39 \fB\-w\fR, \fB\-\-check\-chars\fR=\fIN\fR
40 compare no more than N characters in lines
41 .TP
42 \fB\-\-help\fR
43 display this help and exit
44 .TP
45 \fB\-\-version\fR
46 output version information and exit
47 .PP
48 A field is a run of whitespace, then non\-whitespace characters.
49 Fields are skipped before chars.
50 .SH AUTHOR
51 Written by Richard Stallman and David MacKenzie.
52 .SH "REPORTING BUGS"
53 Report bugs to <bug\-coreutils@gnu.org>.
54 .SH COPYRIGHT
55 Copyright \(co 2007 Free Software Foundation, Inc.
56 .br
57 This is free software.  You may redistribute copies of it under the terms of
58 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
59 There is NO WARRANTY, to the extent permitted by law.
60 .SH "SEE ALSO"
61 The full documentation for
62 .B uniq
63 is maintained as a Texinfo manual.  If the
64 .B info
65 and
66 .B uniq
67 programs are properly installed at your site, the command
68 .IP
69 .B info uniq
70 .PP
71 should give you access to the complete manual.