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

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

 



On Mon, Jun 19, 2006 at 05:58:46PM +0200, Leonard den Ottolander wrote:
> Here is how I made this locale/charset combination available on my
> system:
> 
> # mkdir /usr/local/lib/locale
> # mkdir -p /usr/local/share/i18n/charmaps
> # zcat /usr/share/i18n/charmaps/CP1251.gz \
> > /usr/local/share/i18n/charmaps/CP1251
> # localedef -f /usr/local/share/i18n/charmaps/CP1251 \
> -i /usr/share/i18n/locales/mk_MK /usr/local/lib/locale/mk_MK.cp1251
> # localedef --add-to-archive /usr/local/lib/locale/mk_MK.cp1251

That's 5 times more commands than you really need:
localedef -f CP1251 -i mk_MK /tmp/mk_MK.cp1251
will create the locale and (as --no-archive was not specified) adds it
to the locale archive too.  localedef has /usr/share/i18n/.../ search
paths compiled in and handles gunzipping as well.

	Jakub

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux