-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Alexandre Campo on 11/14/2007 7:32 PM:
> Printf refuses to tell me the version number... --help and --version flags 
> not working ???

Here's why --help and --version didn't work - you are using the bash
builtin, rather than coreutils' printf.  Try '/bin/printf --help' instead.

> 
> Anyway, here is my problem (bash  3.2.25(1)-release (x86_64-pc-linux-gnu)): 
> 
> [EMAIL PROTECTED]:~/$ echo `printf "%02d" 08` 
> bash: printf: 08: invalid number
> 00

That's bash's error message.  Coreutils' is slightly more informative:
$ /bin/printf %02d 08
/bin/printf: 08: value not completely converted
00

The leading 0 means you are using an octal number, but 8 is not a valid
octal digit, hence the parsing stops after '0' leaving '8' unparsed.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHO7Ik84KuGfSFAYARAqKDAJwOhzpdG8DWi7eY6Y38MrGHAt+AigCgjMr3
w4lN9gjrqvP4ZCm/mcHgHdA=
=HfQV
-----END PGP SIGNATURE-----


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to