bash error

Kevin P. Fleming kpfleming at linuxfromscratch.org
Sun Nov 28 12:19:39 PST 2004


Uli Fahrenberg wrote:

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

OK, so I misunderstood the bash docs a little :-) Numeric strings that 
start with 0 (zero) _must_ consist of only the digits 0-7, then, there 
is no means to get them to be interpreted as decimal except by using the 
"10#" prefix.



More information about the lfs-chat mailing list