[ELDK] echo -e (busybox)

Detlev Zundel dzu at denx.de
Tue Jul 1 12:35:29 CEST 2008


Hi Giuseppe,

> I noticed that -e option of echo utility inside busybox that comes 
> with SELF package doesn't work.
>   root:~> echo -e "hello\nworld"
>   hellonworld
>
> On my Ubuntu Linux box:
>   user at ubuntu704desktop:~/temp/tmp$ echo -e "hello\nworld"
>   hello
>   world
>
> Could anyone suggest me the reason?

Configuration of busybox?  The "-e" and "-n" support is configurable.

Actually I just verified this with an ELDK-4.2 ramdisk:

~ # echo -e "test\ntest"
test
test
~ #

So what version of the ELDK SELF are you referring to?

Cheers
  Detlev

-- 
Die meisten schaetzen nicht, was sie verstehen; aber was sie nicht fassen
koennen, verehren sie.  Um geschaetzt zu werden, muessen die Sachen Muehe
kosten; daher wird geruehmt, wer nicht verstanden wird.
                                    --- Baltasar Gracian
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the eldk mailing list