You are not logged in.

#1 2024-07-03 17:13:04

resu_xunilhcrA
Member
Registered: 2024-05-08
Posts: 6

[SOLVED] Bash 5.2.026-3 broke 'printf'

Hello,

Since I updated the bash package to 5.2.026-3 version, a script with

printf '%.0f' x.xx

doesn't work anymore : it prints

nan

(xx.x is a random decimal number like 28.6 for example).

I downgrade to previous version, and script works fine again.

What I am doing wrong ? is it a bug ?

Thanks

Last edited by resu_xunilhcrA (2024-07-03 17:23:08)

Offline

#2 2024-07-03 17:14:36

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,987

Re: [SOLVED] Bash 5.2.026-3 broke 'printf'

Offline

#3 2024-07-03 17:22:19

resu_xunilhcrA
Member
Registered: 2024-05-08
Posts: 6

Re: [SOLVED] Bash 5.2.026-3 broke 'printf'

Oh great ! Thank you smile

Offline

Board footer

Powered by FluxBB