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

Wolfgang Denk wd at denx.de
Thu Feb 14 00:07:15 CET 2008


In message <Pine.LNX.4.64.0802131648030.23661 at blarg.am.freescale.net> you wrote:
> Add a simple expr style command that will set an env variable as the result
> of the command.  This allows us to do simple math in shell.  The following
> operations are supported: &, |, ^, +, -, *, /.
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
> 
> this was the expr patch, but renamed based on comments on the list.

<grumble>
Well, *my* command was *not* to rename it.
</grumble>

At least, please don't make it a default command, then.

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
1000 pains                                              = 1 Megahertz




More information about the U-Boot mailing list