[Bug 2083131] Re: Bash's builtin command "printf" has a grave functionality bug - fails to print the format like "%.2f .1"
Agathe Porte
2083131 at bugs.launchpad.net
Thu Oct 24 10:24:35 UTC 2024
I am encountering this bug too in oracular, and it is breaking a lot of
my scripts. A workaround is to use /usr/bin/printf instead of the bash
builtin until this is fixed. I do not understand why the Debian folks
reverted the severity from critical to normal as this is breaking
external programs. Moving severity to critical.
** Changed in: bash (Ubuntu)
Importance: Undecided => Critical
** Bug watch added: Debian Bug tracker #1078556
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078556
** Also affects: bash (Debian) via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078556
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/2083131
Title:
Bash's builtin command "printf" has a grave functionality bug - fails
to print the format like "%.2f .1"
Status in bash package in Ubuntu:
Confirmed
Status in bash package in Debian:
Unknown
Bug description:
As reported in the upstream Debian Linux:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078556
Bash's builtin command "printf" has a grave functionality bug - fails to print the format like "%.2f .1".
# bash --version
GNU bash, version 5.2.32(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
# printf "%.2f\n" 0.1
nan
As mentioned in the above URL, upstream's configure-strtold-check patch:
https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1078556;filename=configure-strtold-check;msg=20
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/2083131/+subscriptions
More information about the foundations-bugs
mailing list