[BusyBox] sed bug sed -e "1 d" not recognized
Matt Kraai
kraai at alumni.carnegiemellon.edu
Fri Dec 21 09:06:13 UTC 2001
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20011221/35a8d294/attachment.pgp
More information about the busybox
mailing list