1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.012.
2 .TH UNIQ "1" "August 1999" "GNU textutils 2.0" FSF
4 uniq \- remove duplicate lines from a sorted file
7 [\fIOPTION\fR]... [\fIINPUT \fR[\fIOUTPUT\fR]]
10 .\" Add any additional description here
12 Discard all but one of successive identical lines from INPUT (or
13 standard input), writing to OUTPUT (or standard output).
15 \fB\-c\fR, \fB\-\-count\fR
16 prefix lines by the number of occurrences
18 \fB\-d\fR, \fB\-\-repeated\fR
19 only print duplicate lines
21 \fB\-D\fR, \fB\-\-all\-repeated\fR
22 print all duplicate lines
24 \fB\-f\fR, \fB\-\-skip\-fields\fR=\fIN\fR
25 avoid comparing the first N fields
27 \fB\-i\fR, \fB\-\-ignore\-case\fR
28 ignore differences in case when comparing
30 \fB\-s\fR, \fB\-\-skip\-chars\fR=\fIN\fR
31 avoid comparing the first N characters
33 \fB\-u\fR, \fB\-\-unique\fR
34 only print unique lines
36 \fB\-w\fR, \fB\-\-check\-chars\fR=\fIN\fR
37 compare no more than N characters in lines
46 display this help and exit
49 output version information and exit
51 A field is a run of whitespace, then non-whitespace characters.
52 Fields are skipped before chars.
54 Report bugs to <bug-textutils@gnu.org>.
56 The full documentation for
58 is maintained as a Texinfo manual. If the
62 programs are properly installed at your site, the command
66 should give you access to the complete manual.
68 Copyright \(co 1999 Free Software Foundation, Inc.
70 This is free software; see the source for copying conditions. There is NO
71 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.