-=| Martin-Éric Racine, 9.01.2007 01:39 |=- > Taking Catalan as example, the migration would be handled as from > [EMAIL PROTECTED] to ca_ES.UTF-8, so ~/.dmrc content must be manually > changed to [EMAIL PROTECTED] afterwards.
Why can't this be automated? Requirement to hand-change ~/.dmrc makes
the automated tool less "automated".
In perl, that would be:
# "ll_CC[.CODESET]" -> "ll_CC.UTF-8"
s/^([a-z]+)_([A-Z]+)(?:\.([EMAIL PROTECTED])?$/$1_$2.UTF-8/;
# "[EMAIL PROTECTED]" -> "[EMAIL PROTECTED]"
s/^([a-z]+)_([A-Z]+)(?:\.([EMAIL PROTECTED])?@(.+)$/[EMAIL PROTECTED]/;
The [.CODESET] part in comments means that ".CODESET" is optional.
Someone using python might convert these appropriately.
dam
--
Damyan Ivanov Modular Software Systems
[EMAIL PROTECTED]
phone +359(2)928-2611, 929-3993 fax +359(2)920-0994
mobile +359(88)856-6067 [EMAIL PROTECTED]/Gaim
signature.asc
Description: OpenPGP digital signature

