> From: Christian Weisgerber <[email protected]>
> Date: Mon, 21 Sep 2015 14:29:03 +0000 (UTC)
>
> On 2015-09-21, Stefan Sperling <[email protected]> wrote:
>
> > The function that parses funny numbers is iswdigit() which gets a wchar_t.
> > But sleep(1) doesn't need that.
>
> The sole somewhat realistic use of i18n in sleep(1) is the decimal
> separator, so you could do
>
> $ sleep 1,5
>
> in an appropriate locale. Of course the current code doesn't support
> that.
And fortunately POSIX agrees with our implementation:
The following operand shall be supported:
time
A non-negative decimal integer specifying the number of
seconds for which to suspend execution.
You could argue that the thousands separator should be supported though:
$ sleep 1.000.000
if your locale is something vaguely european, and
# sleep 1,000,000
for the north-americans.
But let's not go there...