coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] sleep: allow ms suffix for milliseconds


From: sunnycemetery
Subject: Re: [PATCH] sleep: allow ms suffix for milliseconds
Date: Mon, 9 Dec 2019 00:46:10 -0500
User-agent: Mutt/1.12.2 (2019-09-21)

On 2019-12-02 13:58, Stephane Chazelas wrote:
With GNU coreutils sleep (and ksh93's builtin but not that of
bash or mksh) one can add a e-3 suffix to get miliseconds (and
e-6 for us and e-9 for ns)

sleep 1 # s
sleep 1000e-3 # ms
sleep 1000000e-6 # us
sleep 1000000000e-9 # ns

Thank you for the trick (and Berny for the documentation patch). It's new to me, but I guess that's what I get for not investigating the info page's notes.



reply via email to

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