commit | d058698fd2d9f769ff38ac53c8708b3fdd314f2d | [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 | 0d48926c87ec96f974a6ac4034f4a2f2eab3255f [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>