Re: [SOLVED] Re: grep, ispunct() and locales/charsets

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

 



Hello Jakub,

On Mon, 2006-06-19 at 12:11 -0400, Jakub Jelinek wrote:
> That's 5 times more commands than you really need:
> localedef -f CP1251 -i mk_MK /tmp/mk_MK.cp1251

Well you cheat by creating the file in /tmp instead
of /usr/local/lib/locale. -1 command ;-)

And on my FC4 system locale -a does *not* report mk_MK.cp1251 as a valid
entry *unless* I --add-to-archive. Might well be that I hit a bug -
which even might be fixed as I haven't updated this system in a while
(glibc-2.3.5-10.3) - or did the default change recently?

> and handles gunzipping as well.

Well, that must have been an issue with the explicit paths then as I did
get warnings about non existent characters for some locales that
disappeared after gunzipping first.

Leonard.

P.S. Just had the brilliant idea that I might slash quite a bit out of
glibc (200 x 200KB for LC_CTYPE only) by hard linking some of the
LC_CTYPE and LC_COLLATE files as there appears to be quite some
redundancy there, which I noticed as one of my generated files was
identical to an existing one. Implemented a php script to accomplish
this only to find out that this is actually already being done ;-p .

-- 
mount -t life -o ro /dev/dna /genetic/research



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux