From 11859d9c9d1f9cd78c6878a7c4421ed29c797889 Mon Sep 17 00:00:00 2001 From: Einhard Leichtfuß Date: Mon, 23 Dec 2024 12:36:55 +0100 Subject: Amend notes on $BASH_COMMAND --- docs/error-handling/subshell/repeated-printing.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/error-handling') diff --git a/docs/error-handling/subshell/repeated-printing.md b/docs/error-handling/subshell/repeated-printing.md index fa94a1b..b0a38fe 100644 --- a/docs/error-handling/subshell/repeated-printing.md +++ b/docs/error-handling/subshell/repeated-printing.md @@ -82,3 +82,5 @@ necessary quoting. * It might suffice to check for `(.*` and `${varname_regex}=\$(.*`, given the [other self-imposed restrictions](../../error-handling.md#Subshell). + * Note, though, that there may be several assignments on a single line, + and thus within `$BASH_COMMAND`. -- cgit v1.2.3