1 |
Mike Frysinger wrote: |
2 |
|
3 |
>On Wednesday 11 May 2005 07:26 pm, Ciaran McCreesh wrote: |
4 |
> |
5 |
> |
6 |
>>On Wed, 11 May 2005 16:12:45 -0700 Donnie Berkholz |
7 |
>> |
8 |
>><spyderous@g.o> wrote: |
9 |
>>| Francesco Riosa wrote: |
10 |
>>| > case $(getconf GNU_LIBPTHREAD_VERSION | tr |
11 |
>>| > abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ) in |
12 |
>>| |
13 |
>>| Wow, what a bad way to use tr. Apparently the author's unfamiliar with |
14 |
>>| [:lower:] and [:upper:]. |
15 |
>> |
16 |
>>We don't set LC_ALL=C... |
17 |
>> |
18 |
>> |
19 |
> |
20 |
>so run `LC_ALL=c tr ...` |
21 |
> |
22 |
>it's not uncommon to see that in GNU scripts |
23 |
>-mike |
24 |
> |
25 |
> |
26 |
is this safe also in non GNU environments ? |
27 |
-- |
28 |
gentoo-dev@g.o mailing list |