[Bug 280543] df -, isn't columnated if the thousands separator is multi-byte
Date: Fri, 09 Aug 2024 17:38:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280543
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=pl_PL.UTF-8 printf "%'10d" 10000 | hexdump -Cv
00000000 20 20 20 31 30 c2 a0 30 30 30 | 10..000|
0000000a
--
You are receiving this mail because:
You are the assignee for the bug.