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: NKumar Gala <galak@kernel.crashing.org>
Showing
common/cmd_setexpr.c
0 → 100644
想要评论请 注册 或 登录