Mail archive
alpine-devel

[alpine-devel] Re: Busybox diff / grep oddities

From: Der Tiger <der.tiger.alpine_at_arcor.de>
Date: Sat, 23 Aug 2014 00:18:02 +0200

>>> Recursive diff succeeds without trying?
>>> busybox diff -rq /bin /etc
>>> echo $?
>> Actually, it does what it's supposed to do with BusyBox 1.21.1 on
>> Alpine 2.7.9.
> Not sure about this... but.
The given example works with BusyBox 1.22.1 on 3.0.1 just as well.

> Alpine 3.0+ use musl implementation of regular expressions in busybox.
There we go: grep 'ab\+c' certainly fails on 3.0, while grep 'abb*c' is
POSIX and therefore working fine.

Tiger


---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Sat Aug 23 2014 - 00:18:02 UTC