🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

¿Cómo se incrementa el valor de una variable de tipo caracter en un script de linux?

#5768
From: chechu
Date: Thu, 18 Sep 2003 16:26
10 lines
1645 bytes
Hola:

Estoy haciendo un script en linux y quer�a saber c�mo se puede 
incrementar el valor de una variable que contiene un �nico caracter, de 
una manera un tanto automatica, como puede ser dentro de un bucle for.
Por ejemplo supongamos que tenemos la variable var1 que tiene el valor 
'a'.Como se puede incrementar su valor para que tome el valor 'b', por 
ejemplo.

Muchas gracias
Technical Details
Message-ID: <u6lab.160$Hd.113095@news-reader.eresmas.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!seanews2.seabone.net!garse!news-feeder.eresmas.com!news-reader.eresmas.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,d495e592c3e4b129,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-09-18 09:28:44 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!seanews2.seabone.net!garse!news-feeder.eresmas.com!news-reader.eresmas.com!not-for-mail
From: chechu <chechu1980@wanadoo.es>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: es.comp.os.linux.programacion
Subject: ¿Cómo se incrementa el valor de una variable de tipo caracter en un script de linux?
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 11
Message-ID: <u6lab.160$Hd.113095@news-reader.eresmas.com>
Date: Thu, 18 Sep 2003 18:26:47 +0200
NNTP-Posting-Host: 80.28.218.223
X-Complaints-To: abuse@eresmas.com
X-Trace: news-reader.eresmas.com 1063902746 80.28.218.223 (Thu, 18 Sep 2003 18:32:26 MET DST)
NNTP-Posting-Date: Thu, 18 Sep 2003 18:32:26 MET DST
Organization: eresMas