🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

BASH SCRIPT

#1215
From: Olaf El Blanco
Date: Sat, 25 Feb 2006 10:42
13 lines
1188 bytes
Quiero que mientras haya parametros, haga una determinada cosa.

#!/bin/bash
# La variable i es el primer parametros
i=1;
#mientras las variables $1 $2 $3 tengan valores, que se ejecute el bucle.
while $i
do
   echo -e "Posicion $i\n"
   let i++
done

De antemano Gracias!
Technical Details
Message-ID: <dtpci8$8u6$1@cormoran.emeteo.local>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!news.antakira.com!antonio.escomposlinux.org!cernicalo.escomposlinux.org!escomposlinux.org!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,53d0de41776743f9,start
X-Google-Attributes: gidf86c8,public
X-Google-Language: SPANISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!news.antakira.com!antonio.escomposlinux.org!cernicalo.escomposlinux.org!escomposlinux.org!not-for-mail
From: Olaf El Blanco <einherjar@yahoo.es>
Newsgroups: es.comp.os.linux.programacion
Subject: BASH SCRIPT
Date: Sat, 25 Feb 2006 11:42:40 +0100
Organization: Ecolnet
Lines: 14
Message-ID: <dtpci8$8u6$1@cormoran.emeteo.local>
NNTP-Posting-Host: 55.red-83-60-6.dynamicip.rima-tde.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Trace: cormoran.emeteo.local 1140864392 9158 83.60.6.55 (25 Feb 2006 10:46:32 GMT)
X-Complaints-To: emeteo@escomposlinux.org
NNTP-Posting-Date: Sat, 25 Feb 2006 10:46:32 +0000 (UTC)
User-Agent: KNode/0.7.7