dtrace: give %'d a chance?
    Mark Johnston 
    markj at freebsd.org
       
    Thu Nov 19 14:57:47 UTC 2020
    
    
  
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.
    
    
More information about the freebsd-dtrace
mailing list