On Tue, May 8, 2012 at 5:12 AM, Rich Felker <[email protected]> wrote:
> $ echo hello | busybox sed 's/l*/@/g'
> @he@o
> $ echo hello | sed 's/l*/@/g'
> @h@e@o@
>
> The latter is of course correct. My naive diagnosis is that Busybox
> sed's 'g' option has an off-by-one error in its next-match search,
> i.e. advanced by one character too many before searching for the next
> match.
>

Which busybox-version?

- Sedat -

> Rich
> _______________________________________________
> busybox mailing list
> [email protected]
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to