logo       

Re: Problems with echo -e "\xNNN": msg#00202

linux.busybox

Subject: Re: Problems with echo -e "\xNNN"

Manuel,

I just noticed a problem with "echo" in BusyBox v0.61.pre. Unfortunatly I can't test it with a newer version. So maybe someone could verify this on a 1.0pre:

I did:

~ # echo -e "\061"
1
~ # echo -e "\x31"
\x31

So it looks like "\xNNN" is not working.


While bash's builtin echo supports hex escape sequences, the /bin/echo
utility supports only octals. So this isn't a busybox problem.

Thanks.

I reckon it wouldn't be hard to implement it anyway, would it?
Should we add this feature?

Steven


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise