[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A non TZ related question ...

From: Paul Eggert
Subject: Re: A non TZ related question ...
Date: Sat, 26 Jan 2019 22:54:22 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

Robert Elz wrote:
another NetBSD
developer who has access to a linux system ...  ran a test, which first
confirmed that the locale he set (a Greek one) does use ',' as the
radix character, and that "sleep" does not parse it that way when
used as an arg.

That's clearly a bug: the behavior does not match the coreutils manual. On the other hand it's inconvenient if the command 'sleep 0.1' works only in some locales; how is one supposed to write a shell script portable in non-C locales? I attempted to address the problem by modifying GNU 'sleep' and similar coreutils programs to accept both syntaxes, by installing the attached patch into coreutils master. Perhaps NetBSD could do likewise.

Attachment: 0001-printf-seq-sleep-tail-timeout-accept-current-locale-.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]