diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-07-07 00:05:55 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-07-07 00:05:55 +0000 |
commit | 1c03923b0b50d710cf78d02cf2a2fc80090455ef (patch) | |
tree | 1089bdbb9d8a20b986300ba598f3e639e6a848ec /sh.c | |
parent | b7e6f13b3c264f6d689f0eefc61d4718c3043062 (diff) | |
download | busybox-w32-1c03923b0b50d710cf78d02cf2a2fc80090455ef.tar.gz busybox-w32-1c03923b0b50d710cf78d02cf2a2fc80090455ef.tar.bz2 busybox-w32-1c03923b0b50d710cf78d02cf2a2fc80090455ef.zip |
Add in a shell tagline (per lash/hush behavior) to make it easier
to know which shell is in use. Add in 'help' to list available
builtins, and fixup msh so it can do STANDALONE_SHELL.
-Erik
Diffstat (limited to 'sh.c')
-rw-r--r-- | sh.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -20,6 +20,15 @@ | |||
20 | 20 | ||
21 | #include "busybox.h" | 21 | #include "busybox.h" |
22 | 22 | ||
23 | /* This is to make testing things a bit simpler (to avoid | ||
24 | * a full recompile) till we get the new build system in place */ | ||
25 | #if 0 | ||
26 | #undef BB_FEATURE_LASH | ||
27 | #undef BB_FEATURE_HUSH | ||
28 | #undef BB_FEATURE_MSH | ||
29 | #define BB_FEATURE_ASH | ||
30 | #endif | ||
31 | |||
23 | #if defined BB_FEATURE_ASH | 32 | #if defined BB_FEATURE_ASH |
24 | #include "ash.c" | 33 | #include "ash.c" |
25 | #elif defined BB_FEATURE_MSH | 34 | #elif defined BB_FEATURE_MSH |