.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.33.
.TH UNIQ "1" "March 2004" "uniq (coreutils) 5.2.1" "User Commands"
.SH NAME
uniq \- remove duplicate lines from a sorted file
.SH SYNOPSIS
.B uniq
[\fIOPTION\fR]... [\fIINPUT \fR[\fIOUTPUT\fR]]
.SH DESCRIPTION
.\" Add any additional description here
.PP
Discard all but one of successive identical lines from INPUT (or
standard input), writing to OUTPUT (or standard output).
.PP
Mandatory arguments to long options are mandatory for short options too.
.TP
\fB\-c\fR, \fB\-\-count\fR
prefix lines by the number of occurrences
.TP
\fB\-d\fR, \fB\-\-repeated\fR
only print duplicate lines
.TP
\fB\-D\fR, \fB\-\-all\-repeated\fR[=\fIdelimit\-method\fR] print all duplicate lines
delimit-method={none(default),prepend,separate}
Delimiting is done with blank lines.
.TP
\fB\-f\fR, \fB\-\-skip\-fields\fR=\fIN\fR
avoid comparing the first N fields
.TP
\fB\-i\fR, \fB\-\-ignore\-case\fR
ignore differences in case when comparing
.TP
\fB\-s\fR, \fB\-\-skip\-chars\fR=\fIN\fR
avoid comparing the first N characters
.TP
\fB\-u\fR, \fB\-\-unique\fR
only print unique lines
.TP
\fB\-w\fR, \fB\-\-check\-chars\fR=\fIN\fR
compare no more than N characters in lines
.TP
\fB\-\-help\fR
display this help and exit
.TP
\fB\-\-version\fR
output version information and exit
.PP
A field is a run of whitespace, then non-whitespace characters.
Fields are skipped before chars.
.SH AUTHOR
Written by Richard Stallman and David MacKenzie.
.SH "REPORTING BUGS"
Report bugs to .
.SH COPYRIGHT
Copyright \(co 2004 Free Software Foundation, Inc.
.br
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.SH "SEE ALSO"
The full documentation for
.B uniq
is maintained as a Texinfo manual.  If the
.B info
and
.B uniq
programs are properly installed at your site, the command
.IP
.B info coreutils uniq
.PP
should give you access to the complete manual.






www.fiveanddime.net







Google
Web www.fiveanddime.net