.TH NUNIQ LOCAL .SH NAME nuniq \- remove lines/fields repeated later .SH SYNOPSIS .B nuniq [ field# ] .SH DESCRIPTION .I Nuniq removes replicated lines from its input, preserving the order of the remaining lines in the output. If a field number is given, lines in which only that field is replicated are removed. .PP If line comparison is restricted to a field, .I nuniq will always remove the first N-1 lines of N matches, leaving the last in the output stream. .PP Fields are numbered from 1 on the left. Fields can also be specified from the right as NR, NR-1, etc. for the last and next-to-last respectively. .SH AUTHOR Corey Satten, corey @ cac.washington.edu .SH "SEE ALSO" awk(1)