summaryrefslogtreecommitdiff
path: root/COMPAT
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2022-08-26 11:08:51 -0400
committerChet Ramey <chet.ramey@case.edu>2022-08-26 11:08:51 -0400
commitb3afafd86d27d61601cf380e1065d9170862fd10 (patch)
treeabaef1c96fadb1cbdab381dbe945b1373dbde51f /COMPAT
parentf36c8c8ecd155104931198d898733bdb961bc27f (diff)
downloadbash-5.2-rc3.tar.gz
Bash-5.2-rc3 releasebash-5.2-rc3
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.
-------------------------------------------------------------------------------