bug-bash
[Top][All Lists]
Advanced

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

The removal fails if the first number é preceded from one zero not meani


From: Rolando Temperini
Subject: The removal fails if the first number é preceded from one zero not meaningful one.
Date: Fri, 1 Sep 2006 13:23:08 +0200 (CEST)

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'
-DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib
-g -O2
uname output: Linux nerone 2.4.20-42.7.legacysmp #1
SMP Sun Feb 20 11:10:30 EST 2005 i686 unknown
Machine Type: i686-pc-linux-gnu

Bash Version: 2.05a
Patch Level: 0
Release Status: release

Description:

Hello! I am Temperini Rolando, an Italian programmers
and this the first time that I write to you.

In bash the removal fails if the first number é
preceded from one zero not meaningful one.

Repeat-By:

Case 1) 

pippo=$[013-1]
echo $pippo

Results is : 
10

Case 2)

pippo=$[09-1]

Results is : 
bash: 09: value too great for base (error token is
"09")

Fix: I have not any idea.


My best regards,
Temperini Rolando.



        
 p2.vert.ukl.yahoo.com uncompressed/chunked Fri Sep  1 10:22:11 GMT 2006 
        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it




reply via email to

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