Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 2026 11:14:10 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        Gleb Smirnoff <glebius@FreeBSD.org>
Cc:        src-committers@FreeBSD.org,  dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 77a201b1705d - main - ministat: parse comma used as decimal delimiter
Message-ID:  <86zeznz6hp.fsf@ltc.des.dev>
In-Reply-To: <6a5987fe.3e18c.5660ceff@gitrepo.freebsd.org> (Gleb Smirnoff's message of "Fri, 17 Jul 2026 01:40:14 %2B0000")
References:  <6a5987fe.3e18c.5660ceff@gitrepo.freebsd.org>

index | next in thread | previous in thread | raw e-mail

Gleb Smirnoff <glebius@FreeBSD.org> writes:
> commit 77a201b1705dbd97ea9ebe5b25b1d4ddac8a7d38
> Author:     Gleb Smirnoff <glebius@FreeBSD.org>
> AuthorDate: 2026-07-17 00:49:55 +0000
> Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
> CommitDate: 2026-07-17 01:40:03 +0000
>
>     ministat: parse comma used as decimal delimiter
>     
>     This allows to use output of '/usr/bin/time -ao foo' as direct input to
>     ministat(1).
>     
>     While here make diagnostic message more verbose.

This is wrong.  What if delim is ","?  The correct solution is to either
run your time command with LANG=C, or post-process the output.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86zeznz6hp.fsf>