BASH: The octal problem
I was writing a whole pile of scripts which performed end of month tasks for this webserver, including stats archival, monthly backups, clean up bits and pieces. They all ran great until I hit the end of August and BANG…everything fell apart in a heap of “value too great for base (error token is “08”)” Damn, said I, so off to find a way to fix it all.