On 21 February 2013 18:08, Cedric Blancher
<[email protected]> wrote:
> On 21 February 2013 12:21, Irek Szczesniak <[email protected]> wrote:
>> On Mon, Feb 18, 2013 at 5:51 PM, Glenn Fowler <[email protected]> wrote:
>>>
>>> 2013-02-14 alpha posted to www.research.att.com/download/alpha/
>>>         INIT.2013-02-14.tgz
>>>         ast-ksh.2013-02-14.tgz
>>> this is a work in progress
>>> there are known problems on some architectures
>>
>> Has anyone encountered problems with LANG/LC_ALL switching and ksh93
>> $"..." based localization? We've seen weired issues but haven't found
>> a test case yet.
>
> I see that, too. The tests Roland Mainz wrote go berserk for this ksh93 
> version:
> script_l10n_literals.ksh[64]: test_basic1:t1: Expected stderr=='', got
> 'Usage: unset [-nfv] name...'
> script_l10n_literals.ksh[65]: test_basic1:t1: Unexpected exit code 2
> script_l10n_literals.ksh[63]:
> test_basic1:t1_unuseable_external_nlspath: Expected stdout==$'Simple
> demonstration of ksh93 message translation\nMessage locale is:
> fr_FR.UTF-8\nBonjour\nAu Revoir\nBienvenu David\nThis string is not
> translated because it is not in the message catalog\n#####\nSimple
> demonstration of ksh93 message translation\nMessage locale is:
> C\nHello\nGoodbye\nWelcome David\nThis string is not translated
> because it is not in the message catalog', got ''
> script_l10n_literals.ksh[64]:
> test_basic1:t1_unuseable_external_nlspath: Expected stderr=='', got
> 'Usage: unset [-nfv] name...'
> script_l10n_literals.ksh[65]:
> test_basic1:t1_unuseable_external_nlspath: Unexpected exit code 2
> script_l10n_literals.ksh[63]: test_basic1:t1: Expected
> stdout==$'Simple demonstration of ksh93 message translation\nMessage
> locale is: fr_FR.UTF-8\nBonjour\nAu Revoir\nBienvenu David\nThis
> string is not translated because it is not in the message
> catalog\n#####\nSimple demonstration of ksh93 message
> translation\nMessage locale is: C\nHello\nGoodbye\nWelcome David\nThis
> string is not translated because it is not in the message catalog',
> got ''
> script_l10n_literals.ksh[64]: test_basic1:t1: Expected stderr=='', got
> 'Usage: unset [-nfv] name...'
> script_l10n_literals.ksh[65]: test_basic1:t1: Unexpected exit code 2
> script_l10n_literals.ksh[63]:
> test_basic1:t1_unuseable_external_nlspath: Expected stdout==$'Simple
> demonstration of ksh93 message translation\nMessage locale is:
> fr_FR.UTF-8\nBonjour\nAu Revoir\nBienvenu David\nThis string is not
> translated because it is not in the message catalog\n#####\nSimple
> demonstration of ksh93 message translation\nMessage locale is:
> C\nHello\nGoodbye\nWelcome David\nThis string is not translated
> because it is not in the message catalog', got ''
> script_l10n_literals.ksh[64]:
> test_basic1:t1_unuseable_external_nlspath: Expected stderr=='', got
> 'Usage: unset [-nfv] name...'
> script_l10n_literals.ksh[65]:
> test_basic1:t1_unuseable_external_nlspath: Unexpected exit code 2
> script_l10n_literals.ksh[63]:
> test_per_function_catalogs:t1_per_function_catalog: Expected
> stdout==$'This is function f_a\nThis is function f_b', got $'This is
> function XXX\nThis is function XXX'
> script_l10n_literals.ksh[63]:
> test_per_function_catalogs:t1_per_function_catalog_only_for_f_a:
> Expected stdout==$'This is function f_a\nThis is function XXX', got
> $'This is function XXX\nThis is function XXX'
> script_l10n_literals.ksh[63]:
> test_per_function_catalogs:t1_per_function_catalog_only_for_f_b:
> Expected stdout==$'This is function XXX\nThis is function f_b', got
> $'This is function XXX\nThis is function XXX'
> script_l10n_literals.ksh[63]:
> test_per_function_catalogs:t1_single_catalog_per_script: Expected
> stdout==$'This is a function in msg.sh\nThis is a function in msg.sh',
> got $'This is function XXX\nThis is function XXX'
> script_l10n_literals.ksh[63]:
> test_per_function_catalogs:t1_single_catalog_per_script: Expected
> stdout==$'This is function f_a\nThis is a function in msg.sh', got
> $'This is function XXX\nThis is function XXX'
> script_l10n_literals.ksh[63]:
> test_per_function_catalogs:t1_single_catalog_per_script: Expected
> stdout==$'This is a function in msg.sh\nThis is function f_b', got
> $'This is function XXX\nThis is function XXX'
> script_l10n_literals.ksh[63]:
> test_per_function_catalogs:t1_per_function_catalog: Expected
> stdout==$'This is function f_a\nThis is function f_b', got $'This is
> function XXX\nThis is function XXX'
> script_l10n_literals.ksh[63]:
> test_per_function_catalogs:t1_per_function_catalog_only_for_f_a:
> Expected stdout==$'This is function f_a\nThis is function XXX', got
> $'This is function XXX\nThis is function XXX'
> script_l10n_literals.ksh[63]:
> test_per_function_catalogs:t1_per_function_catalog_only_for_f_b:
> Expected stdout==$'This is function XXX\nThis is function f_b', got
> $'This is function XXX\nThis is function XXX'
> script_l10n_literals.ksh[63]:
> test_per_function_catalogs:t1_single_catalog_per_script: Expected
> stdout==$'This is a function in msg.sh\nThis is a function in msg.sh',
> got $'This is function XXX\nThis is function XXX'
> script_l10n_literals.ksh[63]:
> test_per_function_catalogs:t1_single_catalog_per_script: Expected
> stdout==$'This is function f_a\nThis is a function in msg.sh', got
> $'This is function XXX\nThis is function XXX'
> script_l10n_literals.ksh[63]:
> test_per_function_catalogs:t1_single_catalog_per_script: Expected
> stdout==$'This is a function in msg.sh\nThis is function f_b', got
> $'This is function XXX\nThis is function XXX'
> script_l10n_literals.ksh[63]:
> test_per_function_catalogs:t1_per_function_catalog: Expected
> stdout==$'This is function f_a\nThis is function f_b', got $'This is
> function XXX\nThis is function XXX'
> script_l10n_literals.ksh[63]:
> test_per_function_catalogs:t1_per_function_catalog_only_for_f_a:
> Expected stdout==$'This is function f_a\nThis is function XXX', got
> $'This is function XXX\nThis is function XXX'
> script_l10n_literals.ksh[63]:
> test_per_function_catalogs:t1_per_function_catalog_only_for_f_b:
> Expected stdout==$'This is function XXX\nThis is function f_b', got
> $'This is function XXX\nThis is function XXX'
> script_l10n_literals.ksh[63]:
> test_per_function_catalogs:t1_single_catalog_per_script: Expected
> stdout==$'This is a function in msg.sh\nThis is a function in msg.sh',
> got $'This is function XXX\nThis is function XXX'
> script_l10n_literals.ksh[63]:
> test_per_function_catalogs:t1_single_catalog_per_script: Expected
> stdout==$'This is function f_a\nThis is a function in msg.sh', got
> $'This is function XXX\nThis is function XXX'
> script_l10n_literals.ksh[63]:
> test_per_function_catalogs:t1_single_catalog_per_script: Expected
> stdout==$'This is a function in msg.sh\nThis is function f_b', got
> $'This is function XXX\nThis is function XXX

I think this is worse: ksh has stopped processing all non-ascii
characters. This is really really BAD.

Dan
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to