Re: dtrace: give %'d a chance?

2020-11-19 Thread Mark Johnston
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 a

Re: dtrace: give %'d a chance?

2020-11-19 Thread Andriy Gapon
On 19/11/2020 15:31, Ash Gokhale wrote: > I'm not a fan of reading nanosecond timestamps ; however This would add work > to > downstream scripts  that have to toss the prettyprint later;  > s|.,()||g  downstream. Think of the wee awk scripts.  > Could we gate the behaviour behind an environment DT

dtrace: give %'d a chance?

2020-11-19 Thread Andriy Gapon
what do people think about adding setlocale(LC_NUMERIC, ""); to dtrace's main function? My primary interest is to (pretty-)print some numbers with a thousands separator. Not sure if any other LC_ types are worth bothering. -- Andriy Gapon ___ f