Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 2024 20:17:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 265223] libxo json output for ps uses strings for numeric properties
Message-ID:  <bug-265223-227-vz5WviSAQc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-265223-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-265223-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265223

Vedran Miletic <vedran@miletic.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vedran@miletic.net

--- Comment #1 from Vedran Miletic <vedran@miletic.net> ---
FWIW, df outputs numbers without decimals. When decimals (and units) are us=
ed
(e.g. df -h), df will also (reasonably) use strings instead of numbers.

Finally, one should be careful with decimal values since the decimal separa=
tor
is locale-dependant and can cause libxo to produce invalid JSON (I observed
this on w(1) and Croatian locale, bug 276304).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265223-227-vz5WviSAQc>