summaryrefslogtreecommitdiff
path: root/sh.c
diff options
context:
space:
mode:
authorEric Andersen2000-12-06 23:47:38 +0000
committerEric Andersen2000-12-06 23:47:38 +0000
commit1e7cea952b0c00f36a2021aa6d4e736997e103b0 (patch)
treef8ef1a9e449b3a11b79a1a0d1f6286f9c0e9bb1c /sh.c
parentbc5941a5408c9b55628b1757d0ea89df1218ec5c (diff)
downloadbusybox-1e7cea952b0c00f36a2021aa6d4e736997e103b0.zip
busybox-1e7cea952b0c00f36a2021aa6d4e736997e103b0.tar.gz
Bettwr document the hidden internal sh.c #defines, and which folks
might want to use...
Diffstat (limited to 'sh.c')
-rw-r--r--sh.c12
1 files changed, 10 insertions, 2 deletions
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