sed in bb 1.16.1 broken

Timo Teräs timo.teras at iki.fi
Mon Apr 19 14:15:35 UTC 2010


Hi,

I was fighting one autoconf test that fails, and turns out it's a bb sed problem.

The failing autoconf test is attached.

It gets executed like:
  ./breakage-sed2.sh gethostbyaddr < breakage-protos.h

And is supposed to output (gnu sed output):
  const void

But BB sed dumps out:
  char *
  char *  

I tested this with git master, 1.16.1, and various older random tags including 1.6.0 etc.
And all seemed to give wrong output.

Any idea what goes wrong?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: breakage-protos.h
Type: text/x-chdr
Size: 17173 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20100419/4ec3eaa8/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: breakage-sed2.sh
Type: application/x-sh
Size: 264 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20100419/4ec3eaa8/attachment.sh>


More information about the busybox mailing list