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

Re: Bug: time doesn't work on builtins



> 2024/09/06 8:37, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> 
> On Thu, Sep 5, 2024 at 10:29 AM Jun. T <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:
>> 
>> loop is skipped by (lines 1680,81)
>>    if (wc_code(code) != WC_PIPE)
>>        return lastval = (slflags & WC_SUBLIST_NOT) != 0;
> 
> Is this enough?  All existing tests still pass, but I wonder if
> there's another way to get there.

Other calls of execpline() are all from execlist(), and it seems
the case with WC_SUBST_SIMPLE is already taken care of (for
example at around line 1492).





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