πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Duda tonta de un script

#7482
From: cyfuss
Date: Thu, 27 Feb 2003 11:59
34 lines
1546 bytes
Hola, estoy currandome los scripts, pero no podran conmigo ;-)

este script por que no funciona?

#!/bin/bash

contador = 0
fin = 5000

while [ "$contador" = "$fin" ]; do
        if [ "$contador" = "$fin" ]; then
                fetchnews -vv
                contador = 0
        else
                contador = contador + 1
        fi
done


Me dice que el comando contador y fin no los reconoce... no se da cuenta 
que son variables?

No se, de todas formas voy a buscar algun manual mas extenso de la 
programacion en bash, por que el howto... es muy cortito.

gracias

-- 
saludos

cyfuss

"...tal vez maοΏ½ana no habra nada que escupa fuego
y el que se invente el tirachinas le colgaremos..."
Technical Details
Message-ID: <giuk3b.l35.ln@cyfuss>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!80.103.119.180!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,636565e833d291ef,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-02-27 03:55:59 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!80.103.119.180!not-for-mail
From: cyfuss <notengo@terra.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Duda tonta de un script
Date: Thu, 27 Feb 2003 12:59:11 +0100
Lines: 34
Message-ID: <giuk3b.l35.ln@cyfuss>
Reply-To: notengo@terra.es
NNTP-Posting-Host: 80.103.119.180
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8Bit
X-Trace: fu-berlin.de 1046346958 57246224 80.103.119.180 (16 [151185])
X-Orig-Path: cyfuss!nobody
User-Agent: KNode/0.6.1