aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-12-06 23:47:38 +0000
committerEric Andersen <andersen@codepoet.org>2000-12-06 23:47:38 +0000
commit1e7cea952b0c00f36a2021aa6d4e736997e103b0 (patch)
treef8ef1a9e449b3a11b79a1a0d1f6286f9c0e9bb1c
parentbc5941a5408c9b55628b1757d0ea89df1218ec5c (diff)
downloadbusybox-w32-1e7cea952b0c00f36a2021aa6d4e736997e103b0.tar.gz
busybox-w32-1e7cea952b0c00f36a2021aa6d4e736997e103b0.tar.bz2
busybox-w32-1e7cea952b0c00f36a2021aa6d4e736997e103b0.zip
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 f96720d46..bb8a456b7 100644
--- a/lash.c
+++ b/lash.c
@@ -25,10 +25,18 @@
25 * 25 *
26 */ 26 */
27 27
28 28//
29//This works pretty well now, and is not on by default.
30#define BB_FEATURE_SH_ENVIRONMENT
31//
32//Backtick support has some problems, use at your own risk!
29//#define BB_FEATURE_SH_BACKTICKS 33//#define BB_FEATURE_SH_BACKTICKS
34//
35//If, then, else, etc. support is really, really broken. Don't even
36//bother to mess with this yet, since you will not be happy with it.
30//#define BB_FEATURE_SH_IF_EXPRESSIONS 37//#define BB_FEATURE_SH_IF_EXPRESSIONS
31#define BB_FEATURE_SH_ENVIRONMENT 38//
39//For debugging/development on the shell only...
32//#define DEBUG_SHELL 40//#define DEBUG_SHELL
33 41
34 42
diff --git a/sh.c b/sh.c
index f96720d46..bb8a456b7 100644
--- a/sh.c
+++ b/sh.c
@@ -25,10 +25,18 @@
25 * 25 *
26 */ 26 */
27 27
28 28//
29//This works pretty well now, and is not on by default.
30#define BB_FEATURE_SH_ENVIRONMENT
31//
32//Backtick support has some problems, use at your own risk!
29//#define BB_FEATURE_SH_BACKTICKS 33//#define BB_FEATURE_SH_BACKTICKS
34//
35//If, then, else, etc. support is really, really broken. Don't even
36//bother to mess with this yet, since you will not be happy with it.
30//#define BB_FEATURE_SH_IF_EXPRESSIONS 37//#define BB_FEATURE_SH_IF_EXPRESSIONS
31#define BB_FEATURE_SH_ENVIRONMENT 38//
39//For debugging/development on the shell only...
32//#define DEBUG_SHELL 40//#define DEBUG_SHELL
33 41
34 42
diff --git a/shell/lash.c b/shell/lash.c
index f96720d46..bb8a456b7 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -25,10 +25,18 @@
25 * 25 *
26 */ 26 */
27 27
28 28//
29//This works pretty well now, and is not on by default.
30#define BB_FEATURE_SH_ENVIRONMENT
31//
32//Backtick support has some problems, use at your own risk!
29//#define BB_FEATURE_SH_BACKTICKS 33//#define BB_FEATURE_SH_BACKTICKS
34//
35//If, then, else, etc. support is really, really broken. Don't even
36//bother to mess with this yet, since you will not be happy with it.
30//#define BB_FEATURE_SH_IF_EXPRESSIONS 37//#define BB_FEATURE_SH_IF_EXPRESSIONS
31#define BB_FEATURE_SH_ENVIRONMENT 38//
39//For debugging/development on the shell only...
32//#define DEBUG_SHELL 40//#define DEBUG_SHELL
33 41
34 42