commit 5c811577a2c00908aee5d773f43d990a564fa0a4 parent 70694a318c42420347bee73a5d15d030294f0490 Author: Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com> Date: Wed, 11 Feb 2015 15:18:10 +0000 uniq.1: add [input [output]] information Diffstat:
M | uniq.1 | | | 20 | +++++++++++++------- |
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/uniq.1 b/uniq.1 @@ -13,14 +13,20 @@ .Op Ar input Op Ar output .Sh DESCRIPTION .Nm -reads -.Ar file -and writes one copy of a line from each group of consecutive -duplicate lines to stdout. If no -.Ar file -is given, +reads the +.Ar input +file and writes one copy of a line from each group of consecutive +duplicate lines to the +.Ar output +file. If no +.Ar input +file is given, .Nm -reads from stdin. +reads from stdin. If no +.Ar output +file is given, then +.Nm +writes to stdout. .Sh OPTIONS .Bl -tag -width Ds .It Fl c