[U-Boot-Users] [PATCH] Add setexpr command

Wolfgang Denk wd at denx.de
Thu Feb 14 20:05:56 CET 2008


In message <47B43701.1070102 at ge.com> you wrote:
>
> OK, time to educate Jerry since I'm too lazy to check myself.  Does our 
> hush shell support back ticks?  If we have back tick support, or can add 

No, we don't, and it's not trivial to add. [Feel free to prove me
worng :-) ]

> that support, we should call it expr and return a value which then gets 
> placed properly.  That would be IDEAL.
>    setenv foo `expr 2 + 3`

Agreed. BUt that's the very reason not to call it expr, because it
doesn't work this way.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You can observe a lot just by watchin'.                  - Yogi Berra




More information about the U-Boot mailing list