bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tr '[:upper:]' '[:lower:]' -- misaligned construct


From: Gerald Pfeifer
Subject: tr '[:upper:]' '[:lower:]' -- misaligned construct
Date: Fri, 4 Jan 2008 15:44:35 +0100 (CET)

I've been using  tr '[:upper:]' '[:lower:]'  for a while, but with 
version 6.9.90 (and 6.9.91) I know get the following hard error:

  address@hidden:~> echo 'AbCd' | tr '[:lower:]' '[:upper:]'
  ABCD

  address@hidden:~> echo 'AbCd' | tr '[:upper:]' '[:lower:]'
  tr: misaligned [:upper:] and/or [:lower:] construct

That machine is running in an ISO-8859 locale on openSUSE 11.0 FACTORY:

  address@hidden:~> set | egrep '^(LANG|LC)'
  LANG=en_US.iso-8859-1
  LC_COLLATE=C

I searched Google, the mailing list archives, and checked the ChangeLog
in git but didn't find any matching information.  Earlier versions as
well as FreeBSD 6.2 tr and Solaris 9 tr process both invocations above
as expected.

To exclude any problems caused by the alpha status of openSUSE FACTORY
I also downloaded coreutils-6.9.91 and built it (./configure ; make)
on an openSUSE 10.3 machine.  The result is the same.

Gerald




reply via email to

[Prev in Thread] Current Thread [Next in Thread]