One of my Bash scripts started to fail all of a sudden and I
was able to narrow down this problem to Bash upgrade itself (via
Homebrew on a Mac): from 5.1.16 to 5.2.15.
It looks to me pretty serious: a lot of scripts might be potentially
affected.
The scripts have to change to work around this problem: to
refactor out an inner command group. It might or might not be feasible.
For example, the fix for the script above: