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

Re: Nofork ${{var}...} edge cases



On Wed, Mar 27, 2024 at 6:00 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Wed, Mar 27, 2024 at 3:22 PM Oliver Kiddle <opk@xxxxxxx> wrote:
> >
> > > Or we could declare ${{REPLY}...} as NOT synonymous with ${|...} and
> > > localize REPLY only in the latter of those.  That might actually make
> > > more sense.
>
> Hrm, unfortunately that gets a bit dicey, because ${ ... } relies on
> having the magic local $REPLY as a place to stash the captured stdout

Oh, no, it doesn't:  I confused myself because some the tests in D10 do so.




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