uniq.1: add [input [output]] information

This commit is contained in:
Tai Chi Minh Ralph Eastwood 2015-02-11 15:18:10 +00:00 committed by sin
parent 70694a318c
commit 5c811577a2

20
uniq.1
View File

@ -13,14 +13,20 @@
.Op Ar input Op Ar output .Op Ar input Op Ar output
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
reads reads the
.Ar file .Ar input
and writes one copy of a line from each group of consecutive file and writes one copy of a line from each group of consecutive
duplicate lines to stdout. If no duplicate lines to the
.Ar file .Ar output
is given, file. If no
.Ar input
file is given,
.Nm .Nm
reads from stdin. reads from stdin. If no
.Ar output
file is given, then
.Nm
writes to stdout.
.Sh OPTIONS .Sh OPTIONS
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl c .It Fl c