sed issue

Natanael Copa natanael.copa at gmail.com
Tue Jan 17 07:50:20 UTC 2012


On Sun, Jan 15, 2012 at 7:10 PM, Denys Vlasenko
<vda.linux at googlemail.com> wrote:
> On Fri, Jan 13, 2012 at 10:28 AM, Natanael Copa <natanael.copa at gmail.com> wrote:
>> Hi,
>>
>> When building xen it fails with a sed expression. Building with GNU sed works.
>>
>> $ busybox sed -n
>> 's,^\#define[[:space:]]\{1\,\}BOOT_TRAMPOLINE[[:space:]]\{1\,\},,p'
>> sed: bad regex '^\#define[[:space:]]\{1\,\}BOOT_TRAMPOLINE[[:space:]]\{1\,\}':
>> Invalid content of \{\}
>>
>> I have not investigated if the sed line could be rewritten in a
>> standards compliant way or if its a bug in busybox sed.
>
> Reproduced with uclibc build, but works with glibc build.
> Looks like a bug or glibc-incompatibility in uclibc.
> I filed a bug:
>
> https://bugs.busybox.net/show_bug.cgi?id=4694

I removed the UCLIBC_HAS_REGEX_OLD=y from my config and now it works.
Sorry for the noise.

Thanks!

-- 
Natanael Copa


More information about the busybox mailing list