From: Ed L Cashin Date: 2003-04-21T13:04:56+09:00 Subject: dots in hex printf Hi. I was wondering why there are dots in printing out a hexadecimal number: 1ecashin@meili linux-2.4.18-kgdb$ perl -e 'printf "%x\n", ~(8192 - 1)' ffffe000 ecashin@meili linux-2.4.18-kgdb$ ruby -e 'printf "%x\n", ~(8192 - 1)' ..fe000 ecashin@meili linux-2.4.18-kgdb$ ruby -e 'printf "%x\n", (~(8192 - 1))' ..fe000 .... but it works with the literal number in there. ecashin@meili linux-2.4.18-kgdb$ ruby -e 'printf "%x\n", 0xffffe000' ffffe000 -- --Ed L Cashin PGP public key: http://noserose.net/e/pgp/