Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Add ${!nameref} in ksh emulation and ${(!)nameref} natively



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