Sorry for pushing this, but there has been traffic on the list, but no
reaction to my inquiry. If I was unclear of information is missing,
please let me know.

Or at least say something like: "POSIX says octal escape sequences are
no longer than three digits, so even though dash and bash support four
digits and BB echo does too, we will not introduce this behaviour to BB
printf." Then at least I know that you regard the inquiry as invalid.

It is not urgent, I just do not want it to be forgotten or forget it myself.

Thank you.


Alexander Kriegisch, 04.03.2012 00:49:
> Oh, I forgot: echo -n does not have this problem:
> 
> $ echo -en '\057usr\057bin\n'
> /usr/bin
> 
> $ echo -en '\0057usr\0057bin\n'
> /usr/bin
> 
> 
> Alexander Kriegisch, 04.03.2012 00:45:
>> $ uname -a
>> Linux fb7270 2.6.19.2 #1 Fri Feb 24 02:09:03 CET 2012 mips GNU/Linux
>>
>> $ busybox --help | head -n 1
>> BusyBox v1.19.4 (2012-03-01 12:42:09 CET) multi-call binary.
>>
>> # Okay
>> $ printf "%b" '\057usr\057bin\n'
>> /usr/bin
>>
>> # Not okay
>> $ printf "%b" '\0057usr\0057bin\n'
>> 7usr7bin
>>
>> Maybe somebody can fix this? If I can provide more info, please let me know.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to