On Jun 19, 6:58 pm, bitozoid <otroedua...@gmail.com> wrote: > Configuration Information [Automatically generated, do not change]: > Machine: i686 > OS: linux-gnu > Compiler: i686-pc-linux-gnu-gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' - > DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' - > DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' - > DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -march=core2 - > O2 -fomit-frame-pointer -pipe > uname output: Linux ceo 2.6.29-gentoo-edu34 #1 SMP Sat Apr 4 19:16:43 > WEST 2009 i686 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz GenuineIntel GNU/ > Linux > Machine Type: i686-pc-linux-gnu > > Bash Version: 3.2 > Patch Level: 39 > Release Status: release > > Description: > weird behaviour of printf > > Repeat-By: > edua...@ceo ~ $ printf "%02d\n" 00005 > 05 > edua...@ceo ~ $ printf "%02d\n" 00008 > -bash: printf: 00008: invalid number > 00 > Fix: > I don't know
Sorry, not a bug, but octal representation. Really sorry.