news
Bash 5.3 Release Adds ‘Significant’ New Features
Quoting: Bash 5.3 Release Adds 'Significant' New Features - OMG! Ubuntu —
According the official release announcement Bash 5.3 includes ‘significant new features’ alongside an assortment of other improvements, fixes and compatibility updates.
The headline addition is a “"new form of command substitution that executes the command in the current shell execution context"“.
This has two variants: one reads and returns command output as before, while the other punts the result into the REPLY shell variable when it finishes, which from glancing at the full changelog are...
LWN:
-
Bash-5.3-release available
The GNU project's Bourne Again SHell (Bash) has released version 5.3, with some significant new features, including some from the associated Readline 8.3 release, which provides command-line editing and other features for Bash and lots of other programs. Bash 5.3 has a "
new form of command substitution that executes the command in the current shell execution context
", pathname-completion sorting will be handled based on the GLOBSORT shell variable, generated completions can go to a shell variable instead of to stdout, the source code has been updated to C23, and more. Meanwhile: Readline has new features as well. There is a new option that allows case-insensitive searching, a new command that executes a named readline command, and a new command that exports possible word completions in a specified format for consumption by another process.