Module Name:    src
Committed By:   wiz
Date:           Sun Aug 26 14:13:50 UTC 2012

Modified Files:
        src/usr.bin/uniq: uniq.1

Log Message:
- improve punctuation;
- improve wording (explicitly mention the name of the optional
  additional arguments within the text, using macros as well);
- create separate section, and use `.Ex' macro, for exit status
  information;
- bump date.

Patch from Bug Hunting.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/uniq/uniq.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/uniq/uniq.1
diff -u src/usr.bin/uniq/uniq.1:1.12 src/usr.bin/uniq/uniq.1:1.13
--- src/usr.bin/uniq/uniq.1:1.12	Wed Oct  6 06:43:26 2010
+++ src/usr.bin/uniq/uniq.1	Sun Aug 26 14:13:50 2012
@@ -1,4 +1,4 @@
-.\"	$NetBSD: uniq.1,v 1.12 2010/10/06 06:43:26 dholland Exp $
+.\"	$NetBSD: uniq.1,v 1.13 2012/08/26 14:13:50 wiz Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\"     @(#)uniq.1	8.1 (Berkeley) 6/6/93
 .\"
-.Dd January 6, 2007
+.Dd August 26, 2012
 .Dt UNIQ 1
 .Os
 .Sh NAME
@@ -70,7 +70,7 @@ Ignore the first
 in each input line when doing comparisons.
 A field is a string of non-blank characters separated from adjacent fields
 by blanks.
-Field numbers are one based, i.e. the first field is field one.
+Field numbers are one based, i.e., the first field is field one.
 .It Fl s Ar chars
 Ignore the first
 .Ar chars
@@ -82,7 +82,7 @@ option, the first
 characters after the first
 .Ar fields
 fields will be ignored.
-Character numbers are one based, i.e. the first character is character one.
+Character numbers are one based, i.e., the first character is character one.
 .It Fl u
 Don't output lines that are repeated in the input.
 .\".It Fl Ns Ar n
@@ -105,13 +105,15 @@ Don't output lines that are repeated in 
 .\"number.
 .El
 .Pp
-If additional arguments are specified on the command line, the first
-such argument is used as the name of an input file, the second is used
-as the name of an output file.
-.Pp
-The
-.Nm
-utility exits 0 on success, and \*[Gt]0 if an error occurs.
+Additional arguments
+.Ar input_file
+and
+.Ar output_file
+may be specified on the command line,
+where the former is then used as the name of an input file,
+and the latter as the name of an output file.
+.Sh EXIT STATUS
+.Ex -std
 .Sh COMPATIBILITY
 The historic
 .Cm \&\(pl Ns Ar number

Reply via email to