docs/85062: tr(1) manpage omits several character classes

Toby Peterson toby at apple.com
Wed Aug 17 23:20:23 UTC 2005


>Number:         85062
>Category:       docs
>Synopsis:       tr(1) manpage omits several character classes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 17 23:20:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Toby Peterson
>Release:        HEAD
>Organization:
Apple Computer, Inc.
>Environment:
n/a
>Description:
The tr(1) manpage omits several character classes which are, in fact, supported.
>How-To-Repeat:
Compare the wctype(3) and tr(1) manpages. Observe that wctype(3) recognizes 5 character classes that tr(1) does not mention.
>Fix:
Index: tr.1
===================================================================
RCS file: /home/ncvs/src/usr.bin/tr/tr.1,v
retrieving revision 1.33
diff -u -r1.33 tr.1
--- tr.1        13 Feb 2005 23:45:51 -0000      1.33
+++ tr.1        17 Aug 2005 23:13:50 -0000
@@ -182,16 +182,21 @@
 Represents all characters belonging to the defined character class.
 Class names are:
 .Pp
-.Bl -column "xdigit"
+.Bl -column "phonogram"
 .It "alnum     <alphanumeric characters>
 .It "alpha     <alphabetic characters>
+.It "blank     <whitespace characters>
 .It "cntrl     <control characters>
 .It "digit     <numeric characters>
 .It "graph     <graphic characters>
+.It "ideogram  <ideographic characters>
 .It "lower     <lower-case alphabetic characters>
+.It "phonogram <phonographic characters>
 .It "print     <printable characters>
 .It "punct     <punctuation characters>
+.It "rune      <valid characters>
 .It "space     <space characters>
+.It "special   <special characters>
 .It "upper     <upper-case characters>
 .It "xdigit    <hexadecimal characters>
 .El

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list