aboutsummaryrefslogtreecommitdiff
path: root/busybox.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-09-05 17:37:48 +0000
committerEric Andersen <andersen@codepoet.org>2000-09-05 17:37:48 +0000
commit1b355ebba68bdd567dd3961a18291dfd9532c2e8 (patch)
treec4c1cb4ed9cc025e05640e19c0b0a3f86080563a /busybox.c
parent43c8c38bbfe3d25e21f37d899184de52c6dc9c17 (diff)
downloadbusybox-1b355ebba68bdd567dd3961a18291dfd9532c2e8.tar.gz
Added expr, from Edward Betts <edward@debian.org>, with some fixups
and docs added by me. -Erik
Diffstat (limited to 'busybox.c')
-rw-r--r--busybox.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/busybox.c b/busybox.c
index 0ffa94e09..a7c5d37a0 100644
--- a/busybox.c
+++ b/busybox.c
@@ -76,6 +76,9 @@ const struct BB_applet applets[] = {
#ifdef BB_ECHO
{"echo", echo_main, _BB_DIR_BIN, echo_usage},
#endif
+#ifdef BB_EXPR
+ {"expr", expr_main, _BB_DIR_USR_BIN, expr_usage},
+#endif
#ifdef BB_TRUE_FALSE
{"false", false_main, _BB_DIR_BIN, false_usage},
#endif