.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.012. .TH UNIQ "1" "August 1999" "GNU textutils 2.0" FSF .SH NAME uniq \- remove duplicate lines from a sorted file .SH SYNOPSIS .B uniq [\fIOPTION\fR]... [\fIINPUT \fR[\fIOUTPUT\fR]] .SH DESCRIPTION .PP .\" 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). .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 print all duplicate 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\-N\fR same as \fB\-f\fR N .TP +N same as \fB\-s\fR N .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 "REPORTING BUGS" Report bugs to . .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 uniq .PP should give you access to the complete manual. .SH COPYRIGHT Copyright \(co 1999 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.