summaryrefslogtreecommitdiff
path: root/common/cmd_setexpr.c
Commit message (Collapse)AuthorAgeLines
* Add setexpr commandKumar Gala2008-03-25-0/+70
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>