$ printf "%s\n" ok -
ok
-

why that score in the newline?

--------

$ printf "%d %s\n" 1 ok -
1 ok
-bash: printf: -: invalid number
0

why getting error here, and not in the previous?
why "invalid number" ?
what is that zero?

--------

$ printf "%2s\n" qwerty
qwerty

strings larger than fixed-width are entire written?



I'm using BASH_VERSION 3.2.39, so please forgive me if this issue are already fixed

and thanks for your great job
bye


Reply via email to