[FFmpeg-devel] [PATCH] configure's to_lower and to_upper fix on *bsd

Måns Rullgård mans
Sat Feb 9 12:12:46 CET 2008

Rich Felker <dalias at aerifal.cx> writes:

> On Fri, Feb 08, 2008 at 07:55:39PM +0100, Reimar D?ffinger wrote:
>> Hello,
>> On Fri, Feb 08, 2008 at 04:02:26PM +0100, Pierre d'Herbemont wrote:
>> > here, on Mac OS X, (should be a BSD issue):
>> My BSD man page clearly says: "i.e., the command ``tr [a-z] [A-Z]'' will
>> work"
>> > $ echo "hello z" | tr '[a-z]' '[A-Z]'
>> > HELLO ]
>> And I can't see how this behaviour could make even remotely any sense.
> Range expressions such as a-z take place in collation order, and I'm
> not sure if they're even specified to work in non-C locale anyway (I
> know they're unspecified for regex but they might be specified for tr,
> I forget..)
> Anyway this sort of behavior happens when there are different numbers
> of characters in the ranges a-z and A-Z.

Bloody non-English people.  Anyhow, I'll fix this when I get back from

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list