bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {ref}<&- does not work on array reference subscripts


From: Dan Douglas
Subject: Re: {ref}<&- does not work on array reference subscripts
Date: Wed, 1 Jun 2016 17:23:10 -0500

You also noticed it runs in a subshell generally. Do you expect
something different here? I think <&- should be consistent.

On Wed, Jun 1, 2016 at 5:15 PM, Grisha Levit <grishalevit@gmail.com> wrote:
> declare -n ref=var[0]
> {ref}</dev/null   # works
> {ref}<&-          # fails



reply via email to

[Prev in Thread] Current Thread [Next in Thread]