Want a native sleep
Today sleep(1) is implemented in terms of ksh93. ksh93 has not been well maintained and the version in-gate is buggy. As part of making it easier to update ksh93 and to fix bugs like 6520, 1239, etc.. I've opted to deal with this by implementing a new sleep(1) command that handles these cases, among others and honors some of the features that are common between the ksh93, GNU, and other versions. As part of this, I've written a new test suite to verify that we are properly parsing times in different locales and honors the locale's indicator for the fractional digit correctly. Passing an unsupported version will no longer cause one to sleep forever.
Updated by Electric Monk almost 2 years ago
- Status changed from New to Closed
commit b871f899336f28769ec7f17673f792691454e6a3 Author: Robert Mustacchi <firstname.lastname@example.org> Date: 2020-01-09T07:49:44.000Z 11876 Want a native sleep Reviewed by: Marcel Telka <email@example.com> Reviewed by: Hans Rosenfeld <firstname.lastname@example.org> Approved by: Garrett D'Amore <email@example.com>