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

Re: Named reference (and other) pending work



On Sun, May 3, 2026 at 12:31 AM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> Thanks for the summary.
>
> On Sat, May 2, 2026 at 2:13 PM Philippe Altherr
> <philippe.altherr@xxxxxxxxx> wrote:
> >
> > Review of typeset implementation
> >
> > A few months ago, I started an exhaustive review of the implementation of typeset and found many issues, which lead to many side tracks. Some of them have been resolved and a few others are among the patches listed above. However, I know for sure that there are still issues with typeset. In particular with -p and -m when applied to named references.
>
> -m is not supposed to work at all with named references.
>
> > Turn placeholder dereferencing into an error
> >
> > In ksh, any attempt to dereference a placeholder reference triggers an error. Zsh should do the same.
>
> I disagree (except in ksh emulation mode).  There are other parameter
> cases where ksh has errors but zsh has traditionally yielded empty
> string.

This sounds a little bit like NO_UNSET?

-- 
Mikael Magnusson




Messages sorted by: Reverse Date, Date, Thread, Author