strange tr behaviour

From: Michael Reifenberger <mike_at_Reifenberger.com>
Date: Fri, 26 Mar 2004 09:00:47 +0100 (CET)
Hi,
under -current with the following env settings:
	LC_ALL=de_DE.ISO8859-15
	LC_CTYPE=de_DE.ISO8859-15
	LANG=de_DE.ISO8859-15
using tr as follows I get:

# echo "abcdefghijklmnopqrstuvwxyz" | tr '[a-z]' '[A-Z]'
ABCDEFGHIJKLMNOPQRSUÚWXYŬ]

but:

# echo "abcdefghijklmnopqrstuvwxyz" | tr '[:lower:]' '[:upper:]'
ABCDEFGHIJKLMNOPQRSTUVWXYZ

AND:

# unsetenv LC_ALL
# unsetenv LC_CTYPE
# unsetenv LANG
# echo "abcdefghijklmnopqrstuvwxyz" | tr '[a-z]' '[A-Z]'
ABCDEFGHIJKLMNOPQRSTUVWXYZ


?!?
Anyone else?
Anyone any clue?

Bye/2
---
Michael Reifenberger, Business Development Manager SAP-Basis, Plaut Consulting
Comp: Michael.Reifenberger_at_plaut.de | Priv: Michael_at_Reifenberger.com
      http://www.plaut.de           |       http://www.Reifenberger.com
Received on Thu Mar 25 2004 - 23:02:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:49 UTC