Open mrechte opened 1 month ago
Nice one, thanks for reporting. :-)
Reproduces with bash on other platforms, but for example with zsh it works as expected. With bash, also other variables such as $EPOCHSECONDS are affected after ~10 seconds. Not sure where that comes from yet.
This code will never end, because $SECONDS becomes negative after 10 seconds:
Compiled and run on ArchLinux.