🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Problemas con bash y ficheros con espacios

#5968
From: Julián Albo
Date: Wed, 27 Aug 2003 17:26
15 lines
1200 bytes
Gorka Olaizola escribió:

> images=$@
> 
> goaway=0
> for i in $images
> do


Entrecomilla $@ y sáltate la variable intermedia.

for i in "$@"

Salu2
Technical Details
Message-ID: <3F4CE9BE.DB2B7905@terra.es>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!in.100proofnews.com!in.100proofnews.com!fu-berlin.de!uni-berlin.de!50.red-213-96-228.pooles.rima-tde.NET!not-for-mail
References: <slrnbkpjga.1mg.gorka@conn.helvete.escomposlinux.org>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,7bd7fe9d2d980812
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-08-27 10:26:26 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!in.100proofnews.com!in.100proofnews.com!fu-berlin.de!uni-berlin.de!50.red-213-96-228.pooles.rima-tde.NET!not-for-mail
From: Julián Albo <JULIANALBO@terra.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Problemas con bash y ficheros con espacios
Date: Wed, 27 Aug 2003 19:26:22 +0200
Lines: 15
Message-ID: <3F4CE9BE.DB2B7905@terra.es>
References: <slrnbkpjga.1mg.gorka@conn.helvete.escomposlinux.org>
NNTP-Posting-Host: 50.red-213-96-228.pooles.rima-tde.net (213.96.228.50)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de 1062005184 10226381 213.96.228.50 (16 [169296])
X-Mailer: Mozilla 4.8 [es] (X11; U; Linux 2.4.20-4GB i686)
X-Accept-Language: en