fix posix-mode tilde expansion so non-assignment words containing "~:" do not undergo tilde expansion; heuristic to skip case statements while performing history expansion on $() command substitutions; undo redirections before running an EXIT trap when executing a builtin in a subshell

This commit is contained in:
Chet Ramey
2026-02-17 13:08:27 -05:00
parent 979ae78392
commit 044c1acc91
94 changed files with 208 additions and 11404 deletions
+2 -1
View File
@@ -9330,7 +9330,8 @@ builtins.
@item
Tilde expansion is only performed on assignments preceding a command
name, rather than on all assignment statements on the line.
name, rather than on all assignment statements on the line, unless
the command is a declaration command.
@item
While variable indirection is available, it may not be applied to the