summaryrefslogtreecommitdiff
path: root/COMPAT
diff options
context:
space:
mode:
Diffstat (limited to 'COMPAT')
-rw-r--r--COMPAT9
1 files changed, 8 insertions, 1 deletions
diff --git a/COMPAT b/COMPAT
index 091371cd..9fda7fb8 100644
--- a/COMPAT
+++ b/COMPAT
@@ -579,7 +579,14 @@ compat51 (set using BASH_COMPAT)
- the ${param[:]=value} word expansion will return VALUE, before any
variable-specific transformations have been performed (e.g.,
converting to lowercase). Bash-5.2 will return the final value
- assigned to the variable, as POSIX specifies
+ assigned to the variable, as POSIX specifies;
+ - Parsing command substitutions will act as if extended glob is
+ enabled, so that parsing a command substitution containing an extglob
+ pattern (say, as part of a shell function) will not fail. This
+ assumes the intent is to enable extglob before the command is
+ executed and word expansions are performed. It will fail at word
+ expansion time if extglob hasn't been enabled by the time the
+ command is executed.
-------------------------------------------------------------------------------