Bash 5.2 released

Post Syndicated from original https://lwn.net/Articles/909596/

Version 5.2 of the bash shell has been released.

The most notable new feature is the rewritten command substitution
parsing code, which calls the bison parser recursively. This
replaces the ad-hoc parsing used in previous versions, and allows
better syntax checking and catches syntax errors much earlier. The
shell attempts to do a much better job of parsing and expanding
array subscripts only once; this has visible effects in the `unset’
builtin, word expansions, conditional commands, and other builtins
that can assign variable values as a side effect.