Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Aug 2024 17:38:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 280543] df -, isn't columnated if the thousands separator is multi-byte
Message-ID:  <bug-280543-227-OcenCUDAxA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280543-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280543-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=3D280543

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org

--- Comment #4 from Ed Maste <emaste@freebsd.org> ---
I guess we need separate variables for thousands separator byte count &
character width (and we also need a good printf(3) testsuite).

Easier demonstration:

% LC_ALL=3Dpl_PL.UTF-8 printf "%'10d" 10000 | hexdump -Cv
00000000  20 20 20 31 30 c2 a0 30  30 30                    |   10..000|
0000000a

--=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-280543-227-OcenCUDAxA>