jilles 84941f8297 sh: arith: Disallow decimal constants starting with 0 (containing 8 or 9).
Constants in arithmetic starting with 0 should be octal only.

This avoids the following highly puzzling result:
  $ echo $((018-017))
  3
by making it an error instead.
2010-12-18 23:03:51 +00:00
..
2009-10-15 18:17:29 +00:00
2010-06-02 09:34:41 +00:00
2009-01-30 16:23:57 +00:00
2009-06-23 23:30:56 +00:00
2006-12-18 15:45:01 +00:00
2010-03-04 16:08:01 +00:00
2009-06-23 23:30:56 +00:00
2010-07-31 21:09:49 +00:00
2006-12-27 11:28:00 +00:00
2009-09-04 21:49:37 +00:00
2010-07-12 01:58:46 +00:00
2010-10-31 19:16:54 +00:00
2010-02-15 14:07:40 +00:00
2006-12-27 12:14:56 +00:00
2010-07-27 17:33:02 +00:00
2009-10-15 18:17:29 +00:00
2010-09-13 01:29:51 +00:00