version 1.2, 1996/06/26 05:42:12 |
version 1.3, 1998/10/30 00:24:41 |
|
|
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
.Nm uniq |
.Nm uniq |
utility reads the standard input comparing adjacent lines, and writes |
utility reads the standard input comparing adjacent lines and writes |
a copy of each unique input line to the standard output. |
a copy of each unique input line to the standard output. |
The second and succeeding copies of identical adjacent input lines are |
The second and succeeding copies of identical adjacent input lines are |
not written. |
not written. |
|
|
.Pp |
.Pp |
The |
The |
.Nm uniq |
.Nm uniq |
utility exits 0 on success, and >0 if an error occurs. |
utility exits 0 on success or >0 if an error occurred. |
.Sh COMPATIBILITY |
.Sh COMPATIBILITY |
The historic |
The historic |
.Cm \&\(pl Ns Ar number |
.Cm \&\(pl Ns Ar number |