On 22.8. 15:22, Greg Wooledge wrote:
Just for the record, the POSIX sleep command only accepts an "integral number of seconds specified by the time operand." Sub-second sleep(1) is a GNUism.
Or ksh-ism? (Or does it even matter which one it is originally, since Bash is GNU Bash with features common with ksh.)
Regardless, subsecond sleeping is useful and Bash already supports handling subsecond times in at least 'read -t', so it's not that far fetched to implement it in 'sleep' too.
I'd still suggest supporting the features in GNU coreutils sleep, if an enabled-by-default builtin sleep is implemented. Just for those systems that happen to have both GNU Bash and GNU coreutils installed.
-- Ilkka Virta / itvi...@iki.fi