bug-coreutils
[Top][All Lists]
Advanced

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

bug#70946: [PATCH] doc: improve the man page for sleep


From: Pádraig Brady
Subject: bug#70946: [PATCH] doc: improve the man page for sleep
Date: Wed, 15 May 2024 09:15:43 +0100
User-agent: Mozilla Thunderbird Beta

On 15/05/2024 03:46, Nikolaos Chatzikonstantinou wrote:
On Tue, May 14, 2024 at 4:03 PM Nikolaos Chatzikonstantinou
<nchatz314@gmail.com> wrote:

On Tue, May 14, 2024, 3:59 PM Pádraig Brady <P@draigbrady.com> wrote:

On 14/05/2024 17:36, Nikolaos Chatzikonstantinou wrote:
See attachment.

Well just above your new mention of floating-point, we have:
"NUMBER need not be an integer".
How about I adjust your patch to adjust that text to say:
"NUMBER can be an integer or floating-point".
Sounds good! Either I missed it or my system had an older man page.

If I may suggest, instead write it like this:

     Pause for NUMBER seconds, where NUMBER is an integer or floating-point.

Then the sentence "NUMBER need not be an integer" can be removed. Of
course the info manual shows more details, but I think that note in
the man page will do. Let me know if you'd rather that I write and
submit a patch myself instead.

OK I pushed a change in your name, changing from:

Pause for NUMBER seconds.  SUFFIX may be 's' for seconds (the default),'m' for 
minutes, 'h' for hours or 'd' for days.  NUMBER need not be an
integer.  Given two or more arguments, pause for the amount of time
specified by the sum of their values.

to:

Pause for NUMBER seconds, where NUMBER is an integer or floating-point.
SUFFIX may be 's','m','h', or 'd', for seconds, minutes, hours, days.
With multiple arguments, pause for the sum of their values.

Marking this as done.

thanks,
Pádraig





reply via email to

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