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

Re: [PATCH] Support the mksh's ${|func;} substitution



On Wed, Sep 11, 2019 at 11:01 PM Sebastian Gniazdowski
<sgniazdowski@xxxxxxxxx> wrote:
>
> On Thu, 12 Sep 2019 at 07:35, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> >
> > $REPLY means nothing after the code has run -- it's strictly an input.
> > $reply is the only output.
>
> Yes I was opting for such settlement, however what you wrote seems
> contradict to:
>
> > 4. else if REPLY is set, the value of REPLY is used
> >    (so the corresponding element changes, possibly to an empty string)

Yes, I was imprecise/absentminded in the former paragraph ... that
first sentence should have said:  REPLY means nothing if reply is set
after the code has run.

As the examples demonstrated, the latter paragraph numbered 4 is the
correct interpretation.



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