summaryrefslogtreecommitdiff
path: root/usr.bin/tr
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2006-10-13 16:13:45 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2006-10-13 16:13:45 +0000
commit0414904d4cde0c3df668bfbf6071f5a640a3df28 (patch)
tree1f2707fa453c6b1ea400265100502ddd242b3eac /usr.bin/tr
parent9a29fb3bafd6c1689e682d7a9b4a765c689689f3 (diff)
downloadsrc-test-0414904d4cde0c3df668bfbf6071f5a640a3df28.tar.gz
src-test-0414904d4cde0c3df668bfbf6071f5a640a3df28.zip
- Document all character classes our tr(1) supports. [1]
- Mention that some of them are POSIX extensions. [2] PR: docs/85062 [1] Submitted by: Toby Peterson [1] Obtained from: wctype(3) [2] MFC after: 3 days
Notes
Notes: svn path=/head/; revision=163315
Diffstat (limited to 'usr.bin/tr')
-rw-r--r--usr.bin/tr/tr.116
1 files changed, 14 insertions, 2 deletions
diff --git a/usr.bin/tr/tr.1 b/usr.bin/tr/tr.1
index 9c36c91702c86..e30c877399cf3 100644
--- a/usr.bin/tr/tr.1
+++ b/usr.bin/tr/tr.1
@@ -35,7 +35,7 @@
.\" @(#)tr.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd July 23, 2004
+.Dd October 13, 2006
.Dt TR 1
.Os
.Sh NAME
@@ -182,16 +182,21 @@ previous implementations.
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
@@ -396,6 +401,13 @@ The
.Nm
utility conforms to
.St -p1003.1-2001 .
+The
+.Dq ideogram ,
+.Dq phonogram ,
+.Dq rune ,
+and
+.Dq special
+character classes are extensions.
.Pp
It should be noted that the feature wherein the last character of
.Ar string2