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.
This commit is contained in:
gutteridge 2019-05-29 11:27:34 +00:00
parent 1c13c1a096
commit b6bb9bdde9
1 changed files with 8 additions and 7 deletions

View File

@ -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 .\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -32,7 +32,7 @@
.\" .\"
.\" @(#)tr.1 8.1 (Berkeley) 6/6/93 .\" @(#)tr.1 8.1 (Berkeley) 6/6/93
.\" .\"
.Dd May 29, 2013 .Dd May 29, 2019
.Dt TR 1 .Dt TR 1
.Os .Os
.Sh NAME .Sh NAME
@ -90,11 +90,11 @@ This occurs after all deletion and translation is completed.
In the first synopsis form, the characters in In the first synopsis form, the characters in
.Ar string1 .Ar string1
are translated into the characters in are translated into the characters in
.Ar string2 .Ar string2 ,
where the first character in where the first character in
.Ar string1 .Ar string1
is translated into the first character in is translated into the first character in
.Ar string2 .Ar string2 ,
and so on. and so on.
If If
.Ar string1 .Ar string1
@ -134,7 +134,7 @@ to specify sets of characters:
Any character not described by one of the following conventions Any character not described by one of the following conventions
represents itself. represents itself.
.It \eoctal .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. with that encoded value.
To follow an octal sequence with a digit as a character, left zero-pad To follow an octal sequence with a digit as a character, left zero-pad
the octal sequence to the full 3 octal digits. the octal sequence to the full 3 octal digits.
@ -306,7 +306,7 @@ will have to be rewritten as
The The
.Nm .Nm
utility has historically not permitted the manipulation of NUL bytes in 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. This implementation has removed this behavior as a bug.
.Pp .Pp
The The
@ -320,7 +320,8 @@ options were ignored unless two strings were specified.
This implementation will not permit illegal syntax. This implementation will not permit illegal syntax.
.Sh SEE ALSO .Sh SEE ALSO
.Xr dd 1 , .Xr dd 1 ,
.Xr sed 1 .Xr sed 1 ,
.Xr ctype 3
.Sh STANDARDS .Sh STANDARDS
The The
.Nm .Nm