Re: 5.3-alpha: value substitutions remove unrelated REPLY when its REPLY is removed

2024-04-29 Thread Chet Ramey
On 4/27/24 5:43 PM, Koichi Murase wrote: When REPLY that is prepared by a value substitution ${ ; } is removed by , the value substitution removes the previous-scope REPLY, which is not prepared by the value substitution, after the execution of . $ bash-5.3-alpha --norc $ unlocal() { unset -v "$

5.3-alpha: value substitutions remove unrelated REPLY when its REPLY is removed

2024-04-27 Thread Koichi Murase
When REPLY that is prepared by a value substitution ${ ; } is removed by , the value substitution removes the previous-scope REPLY, which is not prepared by the value substitution, after the execution of . $ bash-5.3-alpha --norc $ unlocal() { unset -v "$@"; } $ f2() { unlocal "$1"; echo "f2:$1=${