Re: Command line arguments depend on locale

2013-01-31 Thread Eric Blake
On 01/31/2013 11:25 AM, Pádraig Brady wrote: > A less clear cut example is printf(1). > POSIX states that LC_NUMERIC controls the format > of the numbers _written_. > In coreutils we're careful to reset to the C locale > so that strtod etc. work consistently. POSIX says that in non-C locales, strt

Re: Command line arguments depend on locale

2013-01-31 Thread Pádraig Brady
On 01/30/2013 11:05 PM, Benny Amorsen wrote: Apparently ping has now started interpreting its command line arguments depending on locale. I.e. ping -i 0.1 no longer works in locales where comma is the decimal separator. This makes it difficult to call system commands. The only workaround is to s