* J?rgen Niinre ([EMAIL PROTECTED]) wrote: > Hello coreutils maintainer, > > The bug is with the command printf: > > [EMAIL PROTECTED] "%02i" 09 > -bash: printf: 09: invalid number > [EMAIL PROTECTED]
Not-a-bug Numbers starting with a '0' are interpreted as Octal like in C; e.g. printf "%02i" 011 gets you 09. Dave -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux on Alpha,68K| Happy \ \ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex / \ _________________________|_____ http://www.treblig.org |_______/ _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
