Re: Incorrect documentation for compat43

2024-07-02 Thread Chet Ramey
On 7/2/24 3:04 PM, Emanuele Torre wrote: From the bash man page: compat43 • the shell does not print a warning message if an attempt is made to use a quoted compound assignment as an argument to declare (e.g., declare -a foo='(1 2)'). Later versio

Incorrect documentation for compat43

2024-07-02 Thread Emanuele Torre
>From the bash man page: compat43 • the shell does not print a warning message if an attempt is made to use a quoted compound assignment as an argument to declare (e.g., declare -a foo='(1 2)'). Later versions warn that this usage is depreca