From 3a7f00eadcf400df5f9381b49f3ff5e882af0261 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 9 May 2023 14:02:06 +0200 Subject: hush: add comment about abort on syntax error %{^} Signed-off-by: Denys Vlasenko --- shell/hush.c | 1 + 1 file changed, 1 insertion(+) (limited to 'shell') diff --git a/shell/hush.c b/shell/hush.c index ac8e447..810dafd 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -1429,6 +1429,7 @@ static void syntax_error_unterm_str(unsigned lineno UNUSED_PARAM, const char *s) { bb_error_msg("syntax error: unterminated %s", s); //? source4.tests fails: in bash, echo ${^} in script does not terminate the script +// (but bash --posix, or if bash is run as "sh", does terminate in script, so maybe uncomment this?) // die_if_script(); } -- cgit v1.1