[Gllug] Arithmetic error in bash on 08 and 09?
Richard Jones
rich at annexia.org
Wed Jul 21 14:30:51 UTC 2004
On Wed, Jul 21, 2004 at 03:28:05PM +0100, Liam Delahunty wrote:
> Here's the eight o'clock error.
> /etc/cron.hourly/check_mailscanner_spam.sh: 08: value too great for
> base (remainder of expression is "08")
08 is an invalid octal number. You need to change the script to
remove the preceeding zero, so you're calculating in decimals.
Rich.
--
Richard Jones. http://www.annexia.org/ http://www.j-london.com/
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
Learning Objective CAML for C, C++, Perl and Java programmers:
http://www.merjis.com/richj/computers/ocaml/tutorial/
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list