[BusyBox] Re: Bug Report:BB 1.00 sed

Hiroshi Ito ito at mlb.co.jp
Mon Nov 1 09:17:39 UTC 2004


Thanks, rob.

 Thank your about your explanation it was very interesting.

 This is just for your information.
 ( I do not think to need fix anymore. because GNU sed is not a
   reference implimentation. 
  I think follows are feature of GNU.)

From: Rob Landley <rob at landley.net>
Subject: Re: [BusyBox] Re: Bug Report:BB 1.00 sed
Date: Sat, 30 Oct 2004 01:48:29 -0500
> By the way, the following test cases proves something about GNU sed:
> 
> echo -n woo > woo
> sed -e h -e g woo
> echo "fish" | sed -e '/woo/h' -e "izap" -e 's/woo/thingy/' -e '/fish/g' woo -

 This example makes me deep consideration to understand it.

 but Now, I understand it. and report difference of GNU sed
 and BB's sed.
------
 With your patch(http://www.busybox.net/lists/busybox/2004-October/013028.html )
/tmp # echo -n test > a
/tmp # sed -n p a /dev/null
test/tmp #			<= GNU sed appends a new line, but not yours.
------
--- GNU sed ---
[root at titan root]# echo -n test > a
[root at titan root]# sed -n p a /dev/null
test
[root at titan root]#
------
--------
Hiroshi Ito
Media Lab. Inc.,
URL http://www.mlb.co.jp ( Sorry, Japanese only. )
TEL +81-3-5294-7255  FAX +81-3-5294-7256



More information about the busybox mailing list