From nobody Fri Aug 09 17:38:56 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WgWNx73Qrz5SVRx for ; Fri, 09 Aug 2024 17:38:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WgWNx3ncyz465p for ; Fri, 9 Aug 2024 17:38:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723225137; a=rsa-sha256; cv=none; b=ALpIqPCIoFYKDkECRO4ziRf+xQn3nSyUtl8iwtziSuzvm6TTgY6TU+JI35F7izhm+F3Ihd 93hxnLJ8le63Qez9AKZ7NRWxpTXc3Eaw4w/x/QYoIjm2zDh06cphc4SqDWxGCuULAjADij ZkWBzXoVXLr1UzaifpXc/AYwFJYlvmWXi3Uu0eqlBtrjyrOG6RCUeboKp2/A7jGIjPOxFL k93NxKQIu0kUZeVIePrYedh8ZnNsqEkJLV9uTpHHJXtB91dQbPu3qY6N1Ast/kWqElxAu2 fTXk3Cwu3c7nay+kuc+a+SarJoO1snQja9hywOXqKpyBqwxStxnwOnlWrbdx+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723225137; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=K1cAa+2fcZyM6i6e3CTlTP6tg60gQxa8qd+P5ymoqvQ=; b=ERo4YHnJ7lzPyiNAA11kq9ZLbCpCROVDmXT5rPrCbjSZr0MU46ZN0cN1FZiSOYpAikAcUp BiCrhTK29pbH55ckFLEWlm01nql/TnLiBGhqGIUhCECHaab2Xf13LyRHVc4AiGMXwoYZ/L rrYT7S7WZ8AYIUEaxPy+t67bnBevr1eSW++z4Ivc+Hov20fdGxj2ACfwqkuFDqSKiphd6e eII55fzEHESGq//vrcx8wZWH3bm3STkHb7zmD3GjiTPpGRKQtRSIbaDteQLxtD1DCpxGOg 3jdZm98Hp5mMVA+0uS0mdHdvKbbls0vrEBZoybs4ewLR4DYY0oLEOG/RvKPvSQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WgWNx1N3GzQ8w for ; Fri, 9 Aug 2024 17:38:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 479HcuX6027723 for ; Fri, 9 Aug 2024 17:38:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 479HcuBt027722 for bugs@FreeBSD.org; Fri, 9 Aug 2024 17:38:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 280543] df -, isn't columnated if the thousands separator is multi-byte Date: Fri, 09 Aug 2024 17:38:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280543 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org --- Comment #4 from Ed Maste --- 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.=