This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug locale/23447] echo w | grep '[a-z] not working in swedish locale
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 25 Jul 2018 13:42:48 +0000
- Subject: [Bug locale/23447] echo w | grep '[a-z] not working in swedish locale
- Auto-submitted: auto-generated
- References: <bug-23447-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=23447
Carlos O'Donell <carlos at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |INVALID
--- Comment #3 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Jakob sellgren from comment #2)
> $> LOCALE=sv_SE
> $> export LOCPATH=$HOME/tmp/locale-test
> $> mkdir -p $LOCPATH
> $> I18NPATH=~/git_projects/glibc/localedata/ localedef -f UTF-8 -i $LOCALE
> $LOCPATH/$LOCALE.UTF-8
> $> ls -l ~/tmp/locale-test/
> totalt 4
> drwxrwxr-x 3 jakob jakob 4096 25 jul 05.59 sv_SE.UTF-8/
> $> echo w | grep '[a-z]'
> w
> $> unset LOCPATH
> $> echo w | grep '[a-z]'
>
> So it works with LOCPATH set, but not unset (I haven't studied the locale
> that much to see what is wrong here).
Perfect, that is working as intended then, you must set LOCPATH and you must
use the new locale that comes with the library. You cannot upgrade the library
and use old binary locales, all of the old binary locales need to be recompiled
to match the new library.
--
You are receiving this mail because:
You are on the CC list for the bug.