bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash man page needs more examples...(i.e. >0)


From: Andreas Schwab
Subject: Re: bash man page needs more examples...(i.e. >0)
Date: Sat, 28 Jan 2012 22:33:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Linda Walsh <address@hidden> writes:

> var=0a32; echo $var
> -bash: 0a32: value too great for base (error token is "0a32")

Which part of "Constants with a leading 0 are interpreted as octal
numbers" did you not understand?

> var=a#32; echo $var
> -bash: a#32: syntax error: invalid arithmetic operator (error token is
> "#32")

Which part of "base is a decimal number between 2 and 64" did you not
understand?

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]