httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf S. Engelschall" <...@engelschall.com>
Subject Re: cvs commit: apache-1.3/src CHANGES
Date Sun, 11 Jul 1999 10:41:15 GMT

In article <19990710182727.139.qmail@hyperreal.org> you wrote:

>   Make configure SysV tr happy. Also, some typos :)
>   
>   -                    apc_optarg=`echo "$apc_optarg" | tr "A-Z" "a-z"`
>   -                    apc_optarg_real=`echo "$apc_optarg" | tr "a-z" "A-Z"`
>   +                    apc_optarg=`echo "$apc_optarg" | tr '[A-Z]' '[a-z]'`
>   +                    apc_optarg_real=`echo "$apc_optarg" | tr '[a-z]' '[A-Z]'`

Yeah, but I'd to learn with GNU shtool the last weeks that there is only
one(!) really portable way:

tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'

Anything else, including the above [a-z], failed on some platforms for me.
It's unbelievable, I know. But doubt me, only the above expanded form survived
all platforms. So please use this one, please.

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

Mime
View raw message