From bc44c44a14ea507f3c939a57f426e9a4eda8f20b Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Tue, 5 Aug 2003 06:00:00 +0000 Subject: Explain better what happens when [:lower:] <-> [:upper:] --- usr.bin/tr/tr.1 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'usr.bin') diff --git a/usr.bin/tr/tr.1 b/usr.bin/tr/tr.1 index 3f26441fd8de0..986f6b16804df 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 -- cgit v1.3