Your message dated Mon, 12 Mar 2007 10:24:28 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#388728: sed: character classes don't include 
locale-specific characters
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: coreutils
Version: 5.97-5
Severity: minor
File: /usr/bin/tr

Correct me if I am wrong, but this is a bug to me. The result should
be 'ü', not 'Ü'.

piper:~> echo Ü | xxd -ps
c39c0a
piper:~> echo Ü | LC_CTYPE=de_CH.UTF-8 sed -e 'y/[:upper:]/[:lower:]/' | xxd -ps
c39c0a

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-2-amd64
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages coreutils depends on:
ii  libacl1                     2.2.41-1     Access control list shared library
ii  libc6                       2.3.999.2-12 GNU C Library: Shared libraries
ii  libselinux1                 1.30.27-3    SELinux shared libraries

coreutils recommends no packages.

-- no debconf information

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: signature.asc
Description: Digital signature (GPG/PGP)


--- End Message ---
--- Begin Message ---
> The sed "y" command does not support character classes
> (unlike tr); doing so would go against POSIX in ways that
> cannot be reconciled.
> 
> Since both
> 
>   echo Bübü Übü | LC_COLLATE=en_US.UTF-8 sed 's/[[:lower:]]/X/g'
> 
> and
> 
>   echo Bübü Übü | LC_COLLATE=en_US.UTF-8 sed 'y/Ü/ü/'
> 
> should work in sed, this is not a bug in sed.

Thanks.

--- End Message ---

Reply via email to