help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can Bash do simple math?


From: Greg Wooledge
Subject: Re: Can Bash do simple math?
Date: Tue, 6 Aug 2024 07:02:36 -0400

On Tue, Aug 06, 2024 at 11:35:43 +0200, bash@blaklinten.xyz wrote:
> My guess is that the $SECONDS variable was updated by Bash _after_ my
> assignment but _before_ the printf command, resulting in a "erroneous"
> value being printed. A kind of race condition, perhaps :)

It certainly sounds like one.  You might want to write a separate message
to the bug-bash@gnu.org mailing list about it.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]