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

Re: PATCH: typeset -n -H



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