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"
4 uniq \- report or omit repeated lines
7 [\fIOPTION\fR]... [\fIINPUT \fR[\fIOUTPUT\fR]]
9 .\" Add any additional description here
11 Discard all but one of successive identical lines from INPUT (or
12 standard input), writing to OUTPUT (or standard output).
14 Mandatory arguments to long options are mandatory for short options too.
16 \fB\-c\fR, \fB\-\-count\fR
17 prefix lines by the number of occurrences
19 \fB\-d\fR, \fB\-\-repeated\fR
20 only print duplicate lines
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.
27 \fB\-f\fR, \fB\-\-skip\-fields\fR=\fIN\fR
28 avoid comparing the first N fields
30 \fB\-i\fR, \fB\-\-ignore\-case\fR
31 ignore differences in case when comparing
33 \fB\-s\fR, \fB\-\-skip\-chars\fR=\fIN\fR
34 avoid comparing the first N characters
36 \fB\-u\fR, \fB\-\-unique\fR
37 only print unique lines
39 \fB\-w\fR, \fB\-\-check\-chars\fR=\fIN\fR
40 compare no more than N characters in lines
43 display this help and exit
46 output version information and exit
48 A field is a run of whitespace, then non\-whitespace characters.
49 Fields are skipped before chars.
51 Written by Richard Stallman and David MacKenzie.
53 Report bugs to <bug\-coreutils@gnu.org>.
55 Copyright \(co 2007 Free Software Foundation, Inc.
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.
61 The full documentation for
63 is maintained as a Texinfo manual. If the
67 programs are properly installed at your site, the command
71 should give you access to the complete manual.