On Tue, 1 Sep 2009, ken wrote: > Doing very simple math in bash fails if a number begins with a zero (0).
Numbers beginning with 0 are base 8 (octal). 08 and 09 are not valid octal numbers. -- Chris F.A. Johnson, webmaster <http://woodbine-gerrard.com> =================================================================== Author: Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)