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

List:       busybox
Subject:    Re: [BusyBox] sed bug sed -e "1 d" not recognized
From:       Matt Kraai <kraai () alumni ! carnegiemellon ! edu>
Date:       2001-12-21 9:06:13
[Download RAW message or body]


On Fri, Dec 21, 2001 at 02:55:32PM +0100, Dumas Patrice wrote:
> Hi,
> I found a bug in busybox sed (0.60.1 and cvs):
> 
> 	$echo bidule | ./busybox sed -e "2 d" 
> returns
> 	sed: invalid command
> Same with 
> 	$echo bidule | ./busybox sed -e "2,3 d"
> 	$echo bidule | ./busybox sed -e "$ d"
> 	$echo bidule | ./busybox sed -e "/bid/ d"
> 
> 
> When there is no line specification, it works. Thus
> 	$echo bidule | ./busybox sed -e d
> works. p instead of d leads to the same problems.

Fixed in CVS.  Thanks for the report.  You can work-around this
problem by removing the space between the address and the command.

Matt

[Attachment #3 (application/pgp-signature)]

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

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