summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2000-12-06 23:47:38 +0000
committerEric Andersen2000-12-06 23:47:38 +0000
commit1e7cea952b0c00f36a2021aa6d4e736997e103b0 (patch)
treef8ef1a9e449b3a11b79a1a0d1f6286f9c0e9bb1c
parentbc5941a5408c9b55628b1757d0ea89df1218ec5c (diff)
downloadbusybox-1e7cea952b0c00f36a2021aa6d4e736997e103b0.zip
busybox-1e7cea952b0c00f36a2021aa6d4e736997e103b0.tar.gz
Bettwr document the hidden internal sh.c #defines, and which folks
might want to use...
-rw-r--r--lash.c12
-rw-r--r--sh.c12
-rw-r--r--shell/lash.c12
3 files changed, 30 insertions, 6 deletions
diff --git a/lash.c b/lash.c
index f96720d..bb8a456 100644
--- a/lash.c
+++ b/lash.c
@@ -25,10 +25,18 @@
*
*/
-
+//
+//This works pretty well now, and is not on by default.
+#define BB_FEATURE_SH_ENVIRONMENT
+//
+//Backtick support has some problems, use at your own risk!
//#define BB_FEATURE_SH_BACKTICKS
+//
+//If, then, else, etc. support is really, really broken. Don't even
+//bother to mess with this yet, since you will not be happy with it.
//#define BB_FEATURE_SH_IF_EXPRESSIONS
-#define BB_FEATURE_SH_ENVIRONMENT
+//
+//For debugging/development on the shell only...
//#define DEBUG_SHELL
diff --git a/sh.c b/sh.c
index f96720d..bb8a456 100644
--- a/sh.c
+++ b/sh.c
@@ -25,10 +25,18 @@
*
*/
-
+//
+//This works pretty well now, and is not on by default.
+#define BB_FEATURE_SH_ENVIRONMENT
+//
+//Backtick support has some problems, use at your own risk!
//#define BB_FEATURE_SH_BACKTICKS
+//
+//If, then, else, etc. support is really, really broken. Don't even
+//bother to mess with this yet, since you will not be happy with it.
//#define BB_FEATURE_SH_IF_EXPRESSIONS
-#define BB_FEATURE_SH_ENVIRONMENT
+//
+//For debugging/development on the shell only...
//#define DEBUG_SHELL
diff --git a/shell/lash.c b/shell/lash.c
index f96720d..bb8a456 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -25,10 +25,18 @@
*
*/
-
+//
+//This works pretty well now, and is not on by default.
+#define BB_FEATURE_SH_ENVIRONMENT
+//
+//Backtick support has some problems, use at your own risk!
//#define BB_FEATURE_SH_BACKTICKS
+//
+//If, then, else, etc. support is really, really broken. Don't even
+//bother to mess with this yet, since you will not be happy with it.
//#define BB_FEATURE_SH_IF_EXPRESSIONS
-#define BB_FEATURE_SH_ENVIRONMENT
+//
+//For debugging/development on the shell only...
//#define DEBUG_SHELL