Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/tr tr.1: add a "see also" xref to ctype(3) (to align...



details:   https://anonhg.NetBSD.org/src/rev/665c4733d254
branches:  trunk
changeset: 999346:665c4733d254
user:      gutteridge <gutteridge%NetBSD.org@localhost>
date:      Wed May 29 11:27:34 2019 +0000

description:
tr.1: add a "see also" xref to ctype(3) (to align with an inline
reference), improve punctuation, etc.

XXX lines 177-191 have been commented out since they were imported in
r. 1.2 back in 1993, they should probably be re-examined, and revised
or removed.

diffstat:

 usr.bin/tr/tr.1 |  15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diffs (60 lines):

diff -r 81f7abb7366f -r 665c4733d254 usr.bin/tr/tr.1
--- a/usr.bin/tr/tr.1   Wed May 29 10:09:01 2019 +0000
+++ b/usr.bin/tr/tr.1   Wed May 29 11:27:34 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: tr.1,v 1.22 2017/07/03 21:34:22 wiz Exp $
+.\"    $NetBSD: tr.1,v 1.23 2019/05/29 11:27:34 gutteridge 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 May 29, 2013
+.Dd May 29, 2019
 .Dt TR 1
 .Os
 .Sh NAME
@@ -90,11 +90,11 @@
 In the first synopsis form, the characters in
 .Ar string1
 are translated into the characters in
-.Ar string2
+.Ar string2 ,
 where the first character in
 .Ar string1
 is translated into the first character in
-.Ar string2
+.Ar string2 ,
 and so on.
 If
 .Ar string1
@@ -134,7 +134,7 @@
 Any character not described by one of the following conventions
 represents itself.
 .It \eoctal
-A backslash followed by 1, 2 or 3 octal digits represents a character
+A backslash followed by 1, 2, or 3 octal digits represents a character
 with that encoded value.
 To follow an octal sequence with a digit as a character, left zero-pad
 the octal sequence to the full 3 octal digits.
@@ -306,7 +306,7 @@
 The
 .Nm
 utility has historically not permitted the manipulation of NUL bytes in
-its input and, additionally, stripped NUL's from its input stream.
+its input and, additionally, stripped NULs from its input stream.
 This implementation has removed this behavior as a bug.
 .Pp
 The
@@ -320,7 +320,8 @@
 This implementation will not permit illegal syntax.
 .Sh SEE ALSO
 .Xr dd 1 ,
-.Xr sed 1
+.Xr sed 1 ,
+.Xr ctype 3
 .Sh STANDARDS
 The
 .Nm



Home | Main Index | Thread Index | Old Index