From 0025ad0d56cae46275bfec1d9fe61f82e6ec5eb5 Mon Sep 17 00:00:00 2001 From: Tai Chi Minh Ralph Eastwood Date: Wed, 11 Feb 2015 15:18:10 +0000 Subject: [PATCH 2/2] uniq.1: add [input [output]] information --- uniq.1 | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/uniq.1 b/uniq.1 index 762601e..720ffe9 100644 --- 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 -- 2.3.0