On 2008-11-28 02:55:16, SREZIC wrote:
Show quoted text> With my default locale settings (de_DE.ISO8859-1) the exec and sh tests
> fail. If I set the locale to "C", then everything passes.
>
> Feel free to ask if you need more diagnostics.
>
This is still failing.
In the case of the "sh" test, it's a non-portable usage of tr. If a
German locale is active, then the output is as follows:
$ echo t | tr '[a-z]' '[A-Z]'
U
With a "C" locale the output is as expected:
$ echo t | env LANG=C LC_ALL=C tr '[a-z]' '[A-Z]'
T
To be portable, a character class should be used:
$ echo t | tr '[:lower:]' '[:upper:]'
T
Regards,
Slaven