From 0414904d4cde0c3df668bfbf6071f5a640a3df28 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Fri, 13 Oct 2006 16:13:45 +0000 Subject: [PATCH] - 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 --- usr.bin/tr/tr.1 | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/usr.bin/tr/tr.1 b/usr.bin/tr/tr.1 index 9c36c91702c8..e30c877399cf 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 .It "alpha +.It "blank .It "cntrl .It "digit .It "graph +.It "ideogram .It "lower +.It "phonogram .It "print .It "punct +.It "rune .It "space +.It "special .It "upper .It "xdigit .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