🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #6386

Comportament extrany de bash

#6386
From: Pere Pujal i Carabantes
Date: Sat, 28 Jun 2003 11:40
24 lines
1410 bytes
Hola!

�s normal aix�?

#!/bin/bash
minuts=07
((minuts+=15)
echo $minuts --> 22

pero

#!/bin/bash
minuts=08
((minuts+=15)) ->((: 08: value too great for base (error token is
echo $minuts  --> 8                                          "08")  

�s un bug o em perdo algo?
GNU bash, version 2.05a.0(1)

Salut

Pere
-- 
NO A LA GUERRA
Technical Details
Message-ID: <slrnbfqvlu.79j.ppujalARROBA@hola.fou.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!cox.net!news-xfer.cox.net!mainake.escomposlinux.org!127.0.0.1!nobody

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f86c8,aa6e39e60cfc96cf,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-06-28 04:43:24 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!cox.net!news-xfer.cox.net!mainake.escomposlinux.org!127.0.0.1!nobody
From: Pere Pujal i Carabantes <"ppujal A R R O B A"@airtel.net>
Newsgroups: es.comp.os.linux.programacion
Subject: Comportament extrany de bash
Date: Sat, 28 Jun 2003 13:40:48 +0200
Organization: Ecolnet
Lines: 24
Message-ID: <slrnbfqvlu.79j.ppujalARROBA@hola.fou.net>
Reply-To: Pere Pujal i Carabantes <ppujal A R R O B A@airtel.net>
NNTP-Posting-Host: 212.166.236.229
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: rantanplan.linux.es 1056800600 14729 212.166.236.229 (28 Jun 2003 11:43:20 GMT)
X-Complaints-To: mainake@escomposlinux.org
NNTP-Posting-Date: Sat, 28 Jun 2003 11:43:20 +0000 (UTC)
User-Agent: slrn/0.9.7.4 (Linux)