On 8/19/18 10:25 AM, konsolebox wrote: > Hi Chet, > > The sleep command is often used in loops and using the external sleep > is expensive. Perhaps we can add the sleep builtin but have it > disabled by default to avoid syntax conflict with the external one.
I don't think there's a problem with a `syntax conflict' as long as any builtin sleep accepts a superset of the POSIX options for sleep(1). I'm going to wait until after bash-5.0 is released before considering this. In the meantime, there is the loadable version, which is now built and installed by default when you run `make install'. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/