-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Rolando Temperini on 9/1/2006 5:23 AM:
> Bash Version: 2.05a

Consider upgrading.  Bash is at 3.1, and a beta for 3.2 is already underway.

> pippo=$[013-1]
> echo $pippo
> 
> Results is : 
> 10

You are using octal numbers, then getting a decimal answer.

> 
> Case 2)
> 
> pippo=$[09-1]

Again, you used octal numbers, except that 8 and 9 are not valid octal
digits.  Don't use the leading 0 if you don't want octal numbers.

- --
Life is short - so eat dessert first!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFAAzj84KuGfSFAYARAkG5AKC+dwlTZAe3XHzp+DR50DrFzV/jTwCgv9sp
oR23xi/LNtu2YLUFnwkAeyc=
=2rjA
-----END PGP SIGNATURE-----


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to