Module Name:    src
Committed By:   wiz
Date:           Wed May 29 15:04:37 UTC 2013

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

Log Message:
- Improve wording and punctuation;
- use `.Ex' macro for `EXIT STATUS' section;
- add `SEE ALSO' section, referencing (back) dd(1) and sed(1);
- bump date.

>From Bug Hunting.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/tr/tr.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/tr/tr.1
diff -u src/usr.bin/tr/tr.1:1.18 src/usr.bin/tr/tr.1:1.19
--- src/usr.bin/tr/tr.1:1.18	Thu Nov 12 00:43:53 2009
+++ src/usr.bin/tr/tr.1	Wed May 29 15:04:37 2013
@@ -1,4 +1,4 @@
-.\"	$NetBSD: tr.1,v 1.18 2009/11/12 00:43:53 joerg Exp $
+.\"	$NetBSD: tr.1,v 1.19 2013/05/29 15:04:37 wiz Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\"     @(#)tr.1	8.1 (Berkeley) 6/6/93
 .\"
-.Dd March 23, 2004
+.Dd May 29, 2013
 .Dt TR 1
 .Os
 .Sh NAME
@@ -227,18 +227,17 @@ expression is only valid when it occurs 
 .Ar string2 .
 If
 .Ar n
-is omitted or is zero, it is interpreted as large enough to extend
+is omitted or is zero, it is interpreted as large enough to extend the
 .Ar string2
 sequence to the length of
 .Ar string1 .
 If
 .Ar n
-has a leading zero, it is interpreted as an octal value, otherwise,
-it's interpreted as a decimal value.
+has a leading zero, it is interpreted as an octal value;
+otherwise, it's interpreted as a decimal value.
 .El
 .Sh EXIT STATUS
-.Nm
-exits 0 on success, and \*[Gt]0 if an error occurs.
+.Ex -std
 .Sh EXAMPLES
 The following examples are shown as given to the shell:
 .Pp
@@ -319,6 +318,9 @@ and
 .Fl s
 options were ignored unless two strings were specified.
 This implementation will not permit illegal syntax.
+.Sh SEE ALSO
+.Xr dd 1 ,
+.Xr sed 1
 .Sh STANDARDS
 The
 .Nm

Reply via email to