bug-bash
[Top][All Lists]
Advanced

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

Re: Potentially misleading documentation of SECONDS variable


From: G. Branden Robinson
Subject: Re: Potentially misleading documentation of SECONDS variable
Date: Wed, 7 Aug 2024 09:10:40 -0500

At 2024-08-07T10:07:23-0400, Chet Ramey wrote:
> On 8/6/24 12:25 PM, Koichi Murase wrote:
> 
> > diff --git a/doc/bash.1 b/doc/bash.1
> > index 1f0a23d3..3ace21e9 100644
> > --- a/doc/bash.1
> > +++ b/doc/bash.1
> > @@ -2091,7 +2091,7 @@ the value returned upon subsequent
> >   references is
> >   the number of seconds since the assignment plus the value assigned.
> >   The number of seconds at shell invocation and the current time are always
> > -determined by querying the system clock.
> > +determined by querying the system clock at the resolution of a second.
> 
> This is not unreasonable.

At the risk of splitting hairs, I would cast the added phrase as:

"at a resolution of one second".

I think that's more idiomatic, but I might read too many kibitzers and
nit pickers.

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

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