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 over 1 year ago
- Status changed from New to Closed
commit b871f899336f28769ec7f17673f792691454e6a3 Author: Robert Mustacchi <email@example.com> Date: 2020-01-09T07:49:44.000Z 11876 Want a native sleep Reviewed by: Marcel Telka <firstname.lastname@example.org> Reviewed by: Hans Rosenfeld <email@example.com> Approved by: Garrett D'Amore <firstname.lastname@example.org>