On Tue, 23 Sep 2025, 00:12 Chet Ramey, <chet.ramey@case.edu> wrote:
> On 9/22/25 3:24 AM, Gioele Barabucci wrote:
>
> > + for ((i=1; i<=n; i++)); do
> > + "$@"
>
> You need the eval, otherwise something like
>
> repeat 5 v+=f
>
> fails.
>
repeat 5 eval v+=f
(no special flag or syntax required)
-Martin