9 Jul
2018
9 Jul
'18
09:09
On 2018-07-09 10:54, Bernhard Voelker wrote:
On 07/09/2018 08:45 AM, Per Jessen wrote:
Bernhard Voelker wrote:
LC_NUMERIC=da_DK.utf8 numfmt ...
Provided the command does a setlocale(LC_ALL,"") call. Otherwise, the environment is ignored and the locale remains as "C".
sure, numfmt is part of the GNU coreutils, so it adheres to the GNU coding and POSIX standards:
https://git.sv.gnu.org/cgit/coreutils.git/tree/src/numfmt.c?id=4397410532#n1...
Well, in this part of the thread I asked what to do inside a program to have it support numeric locales, and Per simply gave an example. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)