Searched hist:216547 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11.0-release/bin/sh/tests/expansion/
H A Darith8.0216547 Sat Dec 18 23:18:35 MST 2010 jilles 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.

Completed in 97 milliseconds