Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Add ${!nameref} in ksh emulation and ${(!)nameref} natively
- X-seq: zsh-workers 51526
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH] Add ${!nameref} in ksh emulation and ${(!)nameref} natively
- Date: Mon, 6 Mar 2023 19:51:13 -0800
- Archived-at: <https://zsh.org/workers/51526>
- In-reply-to: <CAH+w=7ap3adBNf9yDczESj0JuruGdMoW0ZfuQpWn834NFtY9uQ@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7ap3adBNf9yDczESj0JuruGdMoW0ZfuQpWn834NFtY9uQ@mail.gmail.com>
I'm going to go ahead and commit this (with a typo fix) because the
subsequent patch includes bug fixes. If there's an objection to
${(!)...} it can be undone later.
On Sun, Mar 5, 2023 at 3:27 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> As discussed in workers/51495 and referrers, this implements expanding
> a named reference to the name of its referent rather than the value.
>
> Included are expanded comments documenting other ways that ${!...} is
> interpreted in bash, for us to potentially follow in the future.
>
> No doc yet, as this may still be controversial?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author