[BusyBox] (fwd) BusyBox 1.0.0rc3 Bug Report: sed -e 's/), (/), \n(/g' causes busybox to croak

Rob Landley rob at landley.net
Fri Aug 27 06:13:43 UTC 2004


On Thursday 26 August 2004 00:18, Erik Andersen wrote:
> Forwarded bug report,
>
>  -Erik

I see it.

I haven't got mysql installed, is there some way he can get me a data file
that, when piped to busybox sed, produces the bug?

# echo -e "(one), (two), (three)\n(four), (five), (six)" | sed -e 's/), (/), \n(/g'
(one),
(two),
(three)
(four),
(five),
(six)
# chroot /mnt/build
# echo -e "(one), (two), (three)\n(four), (five), (six)" | sed -e 's/), (/), \n(/g'
(one),
(two),
(three)
(four),
(five),
(six)

Same result for busybox and gnu sed.  (Haven't tried with current CVS, but
don't know of any changes from the version in the little distro I slapped
together on my laptop...)

By the way, it's theoretically possible that the problem isn't in the input
data, but in the data chunking sent across the pipe.  (I don't know why
it would, but it's possible.)  Make sure that piping the file into sed
produces the same problem that piping the program output into sed
produces...

Rob
> --
> Erik B. Andersen             http://codepoet-consulting.com/
> --This message was written using 73% post-consumer electrons--

-- 
www.linucon.org: Linux Expo and Science Fiction Convention
October 8-10, 2004 in Austin Texas.  (I'm the con chair.)




More information about the busybox mailing list