On 10/16/20 11:23 AM, gri...@sun.stat.cwru.edu wrote:
> Bash Version: 5.0
> Patch Level: 18
> Release Status: release
>
> Description:
> This worked just fine on Bash 4.2:
>
> foo() {
> local -a args=("${!1}")
> echo "[IN] ${args[@]}"
> }
>
> declare -a args=("$@")
> echo "Bash ${BASH_V
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: x86_64-pc-linux-gnu-gcc
Compilation CFLAGS: -O2 -march=native -pipe -Wno-parentheses
-Wno-format-security
uname output: Linux sun 5.9.0-gentoo-k8s #1 SMP PREEMPT Tue Oct 13 23:59:55
CEST 20