diff options
author | Eric Andersen | 2000-12-06 23:47:38 +0000 |
---|---|---|
committer | Eric Andersen | 2000-12-06 23:47:38 +0000 |
commit | 1e7cea952b0c00f36a2021aa6d4e736997e103b0 (patch) | |
tree | f8ef1a9e449b3a11b79a1a0d1f6286f9c0e9bb1c | |
parent | bc5941a5408c9b55628b1757d0ea89df1218ec5c (diff) | |
download | busybox-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.c | 12 | ||||
-rw-r--r-- | sh.c | 12 | ||||
-rw-r--r-- | shell/lash.c | 12 |
3 files changed, 30 insertions, 6 deletions
@@ -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 @@ -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 |