[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Arithmetic expansion peculiarity
From: |
Joe Lightning |
Subject: |
Arithmetic expansion peculiarity |
Date: |
Thu, 13 Jan 2011 21:11:07 +0000 |
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -march=i686
-mtune=generic -O2 -pipe
-DDEFAULT_PATH_VALUE='/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin'
-DSTANDARD_UTILS_PATH='/usr/bin:/bin:/usr/sbin:/sbin'
-DSYS_BASHRC='/etc/bash.bashrc' -DSYS_BASH_LOGOUT='/etc/bash.bash_logout'
uname output: Linux joelightning.com 2.6.36-ARCH #1 SMP PREEMPT
Sun Dec 12 08:44:00 UTC 2010 i686 Intel(R) Celeron(TM) CPU 1100MHz
GenuineIntel GNU/Linux
Machine Type: i686-pc-linux-gnu
Bash Version: 4.1
Patch Level: 9
Release Status: release
Description:
Bash doesn't like leading zeros in arithmetic expansion.
Repeat-By:
echo $(( 09 - 1 ))
signature.asc
Description: This is a digitally signed message part
- Arithmetic expansion peculiarity,
Joe Lightning <=