Re: Name collision with nameref and local variable

2020-10-18 Thread Chet Ramey
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

Re: Bash Reference Mamual

2020-10-18 Thread Craig H Maynard
I get it now. Thanks for your friendly and informative replies. :) Craig > On Oct 17, 2020, at 7:45 PM, Lawrence Velázquez wrote: > >> On Oct 17, 2020, at 7:35 PM, Eduardo Bustamante wrote: >> >> <(cat file) and $(cat file) are not equivalent constructs. The former will >> expand to a file n

problem with using ctrl-x ctrl-e ( open vi editor )

2020-10-18 Thread Hyunho Cho
Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/bash-a6qmCk/bash-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -Wno-format-security uname output: Linux EliteBook 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:2