[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] (fwd) BusyBox 1.0.0rc3 Bug Report: sed -e 's/), (/),
From:       Rob Landley <rob () landley ! net>
Date:       2004-08-27 6:13:43
Message-ID: 200408270113.43943.rob () landley ! net
[Download RAW message or body]

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.)

_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic