[BusyBox] Problems with echo -e "\xNNN"

Manuel Novoa III mjn3 at codepoet.org
Mon Jul 28 13:25:23 UTC 2003


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



More information about the busybox mailing list