summaryrefslogtreecommitdiffstats
path: root/usr.bin/tr
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2003-08-05 06:00:00 +0000
committerache <ache@FreeBSD.org>2003-08-05 06:00:00 +0000
commit3a19fb4eb0268c77b45dea747269de7f875e2f13 (patch)
tree462263df5e054c7ab9f96a2acb8863df099875e2 /usr.bin/tr
parent55db7693f7ab4aabeac219af4a2d00a932cb9a36 (diff)
downloadFreeBSD-src-3a19fb4eb0268c77b45dea747269de7f875e2f13.zip
FreeBSD-src-3a19fb4eb0268c77b45dea747269de7f875e2f13.tar.gz
Explain better what happens when [:lower:] <-> [:upper:]
Diffstat (limited to 'usr.bin/tr')
-rw-r--r--usr.bin/tr/tr.119
1 files changed, 19 insertions, 0 deletions
diff --git a/usr.bin/tr/tr.1 b/usr.bin/tr/tr.1
index 3f26441..986f6b1 100644
--- a/usr.bin/tr/tr.1
+++ b/usr.bin/tr/tr.1
@@ -202,6 +202,25 @@ Class names are:
.\" and vice-versa) is specified in the same relative position in
.\" .Ar string1 .
.\" .Pp
+When ``[:lower:]'' appears in
+.Ar string1
+and ``[:upper:]'' appears in the same relative position in
+.Ar string2 ,
+it represents the characters from the
+.Dv toupper
+mapping in the
+.Ev LC_CTYPE
+category of the current locale.
+When ``[:upper:]'' appears in
+.Ar string1
+and ``[:lower:]'' appears in the same relative position in
+.Ar string2 ,
+it represents the characters from the
+.Dv tolower
+mapping in the
+.Ev LC_CTYPE
+category of the current locale.
+.Pp
With the exception of the ``upper'' and ``lower'' classes, characters
in the classes are in unspecified order.
In the ``upper'' and ``lower'' classes, characters are entered in
OpenPOWER on IntegriCloud