On Tue, Sep 23, 2025 at 17:05:11 +0200, pourko2--- via Bug reports for the GNU
Bourne Again SHell wrote:
> Of course, I can see how this can be used for playing some practical jokes,
> even on yourself. I would much rather if there is an easy way to make time
> take a -n N option instead.
That's more acceptable than a new special variable, in my opinion. However,
I don't think either one is really needed. You can already do
time for ((i=1; i<=100; i++)); do my command here; done
or write a repeat (with eval) function, and do something like
time repeat -e 100 'my command here'
New shell features aren't needed for this.