1

how to suppress bash octal number interpretation? (to be interpreted as decimal)

view story
linux-howto

http://unix.stackexchange.com – I have this: date +"%H hours and %M minutes" I use festival to say it up.. but it says like: "zero nine hours".. I want it to say "nine hours"! but date always give me 09... so I wonder if bash can easly make that become just 9? in the complex script I tried like printf %d 09 but it fails.. not octal :( any idea? (HowTos)