On Thu, Nov 19, 2020 at 01:28:56PM +0200, Andriy Gapon wrote:
> 
> what do people think about adding
>     setlocale(LC_NUMERIC, "");
> to dtrace's main function?

That seems reasonable to me.

> My primary interest is to (pretty-)print some numbers with a thousands 
> separator.
> 
> Not sure if any other LC_ types are worth bothering.

Maybe LC_TIME?  libdtrace a couple of date formatters, %T and %Y.  A
locale-aware formatter might be worth having.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
To unsubscribe, send any mail to "[email protected]"

Reply via email to