[Touch-packages] [Bug 2058775] Re: coreutils: printf formatting bug for nb_NO and nn_NO locales

2024-03-26 Thread Bug Watch Updater
** Changed in: glibc Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to coreutils in Ubuntu. https://bugs.launchpad.net/bugs/2058775 Title: coreutils: printf formatting bug for nb_NO and nn_NO

[Touch-packages] [Bug 2058775]

2024-03-26 Thread Andreas Schwab
dup *** This bug has been marked as a duplicate of bug 28943 *** -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to coreutils in Ubuntu. https://bugs.launchpad.net/bugs/2058775 Title: coreutils: printf formatting bug for

[Touch-packages] [Bug 2058775] Re: coreutils: printf formatting bug for nb_NO and nn_NO locales

2024-03-24 Thread Thomas Dreibholz
** Project changed: coreutils => glibc -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to coreutils in Ubuntu. https://bugs.launchpad.net/bugs/2058775 Title: coreutils: printf formatting bug for nb_NO and nn_NO locales

[Touch-packages] [Bug 2058775] Re: coreutils: printf formatting bug for nb_NO and nn_NO locales

2024-03-24 Thread Bug Watch Updater
Launchpad has imported 1 comments from the remote bug at https://sourceware.org/bugzilla/show_bug.cgi?id=31542. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at

[Touch-packages] [Bug 2058775] Re: coreutils: printf formatting bug for nb_NO and nn_NO locales

2024-03-24 Thread Thomas Dreibholz
** Bug watch added: Sourceware.org Bugzilla #31542 https://sourceware.org/bugzilla/show_bug.cgi?id=31542 ** Also affects: coreutils via https://sourceware.org/bugzilla/show_bug.cgi?id=31542 Importance: Unknown Status: Unknown -- You received this bug notification because you are

[Touch-packages] [Bug 2058775] Re: coreutils: printf formatting bug for nb_NO and nn_NO locales

2024-03-22 Thread Thomas Dreibholz
Loading the test script output as text file in LibreOffice also shows the same issue (screenshot attached). So, it is not a bug of Konsole or XTerm. Probably, the 3-byte UTF-8 thousands separator character of the locale is not useful. May be it should be a simple space, or a normal UTF-8

[Touch-packages] [Bug 2058775] Re: coreutils: printf formatting bug for nb_NO and nn_NO locales

2024-03-22 Thread Thomas Dreibholz
In a hexdump, printf seems to add a 3 characters for the thousands separator: #!/bin/sh for l in de_DE en_US nb_NO nn_NO ; do echo "LC_NUMERIC=$l.UTF-8" for n in 1 100 1000 1 10 100 1000 ; do LC_NUMERIC=$l.UTF-8 /usr/bin/printf "<%'8d>" $n | hexdump -C done

[Touch-packages] [Bug 2058775] Re: coreutils: printf formatting bug for nb_NO and nn_NO locales

2024-03-22 Thread Thomas Dreibholz
Launchpad suppresses the spaces, it seems. I attached a screenshot of the terminal output to display the formatting issue. ** Attachment added: "Screenshot of the test script output"

[Touch-packages] [Bug 2058775] [NEW] coreutils: printf formatting bug for nb_NO and nn_NO locales

2024-03-22 Thread Thomas Dreibholz
Public bug reported: I just discovered a printf bug for at least the nb_NO and nn_NO locales when printing numbers with thousands separator. To reproduce: #!/bin/bash for l in de_DE en_US nb_NO ; do    echo "LC_NUMERIC=$l.UTF-8"    for n in 1 100 1000 1 10 100 1000 ; do