Trek wrote:
> $ busybox sh -c 's=OK\\n; echo "${s%%\\n*}"'
> OK\

This is fixed in 1.24 and git master.

>  $ busybox sh -c 'printf %b OK\\c'
>  OK\c

This is a problem with printf.  Patch to follow.

>and the same applies to echo

Busybox echo follows GNU conventions for escape handling rather than
POSIX.  With busybox 1.22.1-4.fc23 on Fedora 23:

$ busybox sh -c 'echo -e OK\\c'
OK$

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

Reply via email to