Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/tr - Improve wording and punctuation;
details: https://anonhg.NetBSD.org/src/rev/05c4f65a609f
branches: trunk
changeset: 787013:05c4f65a609f
user: wiz <wiz%NetBSD.org@localhost>
date: Wed May 29 15:04:37 2013 +0000
description:
- 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.
diffstat:
usr.bin/tr/tr.1 | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diffs (51 lines):
diff -r d443dbc66b48 -r 05c4f65a609f usr.bin/tr/tr.1
--- a/usr.bin/tr/tr.1 Wed May 29 15:03:09 2013 +0000
+++ b/usr.bin/tr/tr.1 Wed May 29 15:04:37 2013 +0000
@@ -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 @@
.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 @@
.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
Home |
Main Index |
Thread Index |
Old Index