bash error

Uli Fahrenberg uli at math.aau.dk
Sun Nov 28 11:45:44 PST 2004


Kevin P. Fleming, Nov 28, 10:42 -0700:

> Simple: numeric values that start with 0 (zero) and consist of only 
> digits 0-7 are considered to be octal, and interpreted that way. When 
> the string contains an 8 or a 9 (which will always be at the end of 
> your example, since only the minutes could contain them), then it will 
> be treated as decimal.

Here I get an error:

uli at uli ~ $ let bar=048
-bash: let: bar=048: value too great for base (error token is "048")

(bash-2.05b on gentoo)

uli


-- 
Uli Fahrenberg -- http://www.math.aau.dk/~uli
reflect -- http://www.math.aau.dk/~uli/reflect



More information about the lfs-chat mailing list