commit | aed8334fac17e87a75a1875c20c6a419cc92de27 | [log] [tgz] |
---|---|---|
author | Kumar Gala <galak@kernel.crashing.org> | Thu Feb 14 20:44:42 2008 -0600 |
committer | Wolfgang Denk <wd@denx.de> | Tue Mar 25 22:16:15 2008 +0100 |
tree | 9a41de69112983ebd505483a564df6e74dd69e57 | |
parent | 48116dc97bdbdf7ebf2c4061c356a72842ca2364 [diff] |
Add setexpr command 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@kernel.crashing.org>