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



On Mon, Jul 28, 2003 at 02:47:13PM +0200, Steven Scholz wrote:
> 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.

Manuel




Privacy