AW: sed bug ?

dietmar.schindler at manroland-web.com dietmar.schindler at manroland-web.com
Thu Nov 17 12:08:27 UTC 2016


> Von: Timo Teras
> Gesendet: Donnerstag, 17. November 2016 10:56
>
> The following discrepancy happens on 1.25.1 (and git master) with musl
> c-library:
>
> ~ $ echo /usr/lib/ | sed 's,\(^/\|\)[^/][^/]*,..,g'
> ../../
>
> ~ $ echo /usr/lib/ | busybox sed 's,\(^/\|\)[^/][^/]*,..,g'
> /../../
>
> Any thoughts?

The output of busybox sed is indeed incorrect.
--
Regards,
Dietmar
________________________________
manroland web systems GmbH -- Managing Director: Alexander Wassermann
Registered Office: Augsburg -- Trade Register: AG Augsburg -- HRB-No.: 26816 -- VAT: DE281389840

Confidentiality note:
This eMail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you have received this eMail in error, then please delete this eMail.
________________________________


More information about the busybox mailing list