Re: hexadecimal et printf
At 10:09 04/09/2002 +0200, Romuald DELAVERGNE wrote:
là, ca ne marche pas tres bien
Pourtant ça devrait
aristote:~# printf "%d\n" 0xff
bash: printf: 0xff: illegal number
0xff: tu as bien tappé un zéro et pas 'o' majuscule pour 0xff ?
oui, je suis surppris de ce comportement de ma machine.
j'utilise le chiffre 0 et la lettre minuscule x
et j'obtient
aristote:~# printf "%d\n" 0xff
bash: printf: 0xff: illegal number
aristote:~# printf "%d\n" "0xff"
bash: printf: 0xff: illegal number
enfin, ce n'est pas grave mais je demande quoi cela est du ?
merci, @+
--
To UNSUBSCRIBE, email to debian-user-french-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: