Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Support the mksh's ${|func;} substitution
On Fri, 13 Sep 2019 at 23:36, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Fri, Sep 13, 2019 at 2:33 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> >
> > On Fri, Sep 13, 2019 at 1:28 PM Sebastian Gniazdowski
> > <sgniazdowski@xxxxxxxxx> wrote:
> > >
> > > It seems fairly complete, now only someone who knows how to evaluate
> > > code would have to implement it or provide hints
> >
> > Again, this is intended to be very similar to the (e) glob operator,
> > so have a look at glob_exec_string in Src/glob.c
>
> Sorry, that's just finding the string to be exec'd. The actual magic
> in glob.c happens right after this comment:
> /* Parsed OK, execute for each name */
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author