From 1e7cea952b0c00f36a2021aa6d4e736997e103b0 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 6 Dec 2000 23:47:38 +0000 Subject: Bettwr document the hidden internal sh.c #defines, and which folks might want to use... --- lash.c | 12 ++++++++++-- sh.c | 12 ++++++++++-- shell/lash.c | 12 ++++++++++-- 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 @@ * */ - +// +//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 f96720d46..bb8a456b7 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 f96720d46..bb8a456b7 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 -- cgit v1.2.3