bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sed issue? [was: Subject: [GNU Autoconf 2.67] testsuite: 233 failed]


From: Paolo Bonzini
Subject: Re: sed issue? [was: Subject: [GNU Autoconf 2.67] testsuite: 233 failed]
Date: Tue, 21 Sep 2010 09:49:06 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.3

On 09/21/2010 02:37 AM, Eric Blake wrote:

Maybe the sed script in file.sed is non-portable? It's certainly more
complex than the normal run-of-the-mill sed script. Or maybe it is that
the regex '.' has problems matching non-characters, and the definition
of the various locales determine whether 8-bit bytes are characters or
not. Is there any portable way to guarantee a single-byte locale where
'.' matches all possible 8-bit bytes?

More testing shows that 'LC_ALL=en_US.ISO8859-1 sed' on Darwin gives the
desired results, so the problem is definitely a matter of whether the C
locale treats all 256 byte values as potential matches to '.'.

I think that's a (pretty serious) Darwin bug.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]