* J?rgen Niinre (address@hidden) wrote:
> Hello coreutils maintainer,
>
> The bug is with the command printf:
>
> address@hidden "%02i" 09
> -bash: printf: 09: invalid number
> address@hidden
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 |_______/