bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

qwerty


From: Antonio Macchi
Subject: qwerty
Date: Thu, 12 Nov 2009 01:47:52 +0100
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

$ 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

[Prev in Thread] Current Thread [Next in Thread]