Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: typeset -n -H
- X-seq: zsh-workers 53367
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Oliver Kiddle <opk@xxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: PATCH: typeset -n -H
- Date: Sat, 15 Feb 2025 13:10:54 -0800
- Archived-at: <https://zsh.org/workers/53367>
- In-reply-to: <CAH+w=7YQcRshQEaMHCE2qFSYhKE-6YGnmnuTdDEdStZmZ38uEA@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7aGegF=mk2oXnHod1WrdFdBtCstpHkZURvJ9YA48LwR3w@mail.gmail.com> <98757-1739291158.458303@J0dk.TjJZ.pj5i> <CAH+w=7YJsY7s-FDxB+1OVqahn68F=AjM3Unqk0YynYxN3m4ZQg@mail.gmail.com> <CAH+w=7YQcRshQEaMHCE2qFSYhKE-6YGnmnuTdDEdStZmZ38uEA@mail.gmail.com>
On Fri, Feb 14, 2025 at 11:34 AM Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> Hang on, no, that can't be what you meant.
>
> > + if ((on & PM_NAMEREF) && OPT_MINUS(ops,'m')) {
>
> ... would give a pass to (-n +m) as well ... whether that's OK depends
> on whether it ends up acting as if -p was also given (doesn't alter
> anything).
Confirmed +m works this way with -n, so I'll go ahead and commit that patch.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author