🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: como hago esto???

#5784
From: Alberto Giménez
Date: Fri, 19 Sep 2003 01:01
31 lines
2249 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El Fri, 19 Sep 2003 01:06:26 +0200, Jayr Al-Dyn escribi�:
>>> for f in `cat archivo.txt` do; cp $f /rutadestino; done
>>> 
>> me dice --> bash: syntax error near unexpected token `cp'
> 
> Vaaale. Quita el punto y coma y listo (lo que es escribir las cosas de
> memoria...)

Mejor que los cambie de lugar ;)

 for f in `cat archivo.txt`; do cp $f /rutadestino; done
                           ^---|
Saludos

- -- 
Alberto Gim�nez, SimManiac en el IRC
http://www.geocities.com/simmaniac_es
GNU/Linux Debian Woody 3.0 GnuPG ID: 0x3BAABDE1
Linux registered user #290801
"640k deber�an ser suficientes para todo el mundo." (Bill Gates)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/alVd0keCtzuqveERAv+gAJ4g0GVJDtkHgolaWxt5vIMGoTfVTACeMg0F
eeWntIZFtnAd1vBVQQmek80=
=WJJb
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <tgkdkb.elo.ln@teleline.es>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!skynet.be!skynet.be!newsgate.cistron.nl!amsnews01.chello.com!news-hub.cableinet.net!blueyonder!marmolejo.escomposlinux.org!frodo.antakira.com!news.antakira.com!antonio.escomposlinux.org!escomposlinux.org!teleline.es!nobody
References: <bkd7ss$eae8$1@ID-62384.news.uni-berlin.de> <bkd9fj$41n$1@rantanplan.linux.es> <bkdak9$h1ba$2@ID-62384.news.uni-berlin.de> <bkddpm$6a9$1@rantanplan.linux.es>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f86c8,47ccf98ee9eea7d8
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-09-18 19:14:32 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!skynet.be!skynet.be!newsgate.cistron.nl!amsnews01.chello.com!news-hub.cableinet.net!blueyonder!marmolejo.escomposlinux.org!frodo.antakira.com!news.antakira.com!antonio.escomposlinux.org!escomposlinux.org!teleline.es!nobody
From: Alberto Giménez <algibe@teleline.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: como hago esto???
Date: Fri, 19 Sep 2003 03:01:17 +0200
Organization: Ecolnet
Lines: 31
Message-ID: <tgkdkb.elo.ln@teleline.es>
References: <bkd7ss$eae8$1@ID-62384.news.uni-berlin.de> <bkd9fj$41n$1@rantanplan.linux.es> <bkdak9$h1ba$2@ID-62384.news.uni-berlin.de> <bkddpm$6a9$1@rantanplan.linux.es>
Reply-To: algibe@teleline.es
NNTP-Posting-Host: 196-bar2-x28.libre.retevision.es
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: antonio.escomposlinux.org 1063937671 24907 62.82.134.196 (19 Sep 2003 02:14:31 GMT)
X-Complaints-To: antonio@escomposlinux.org
NNTP-Posting-Date: Fri, 19 Sep 2003 02:14:31 +0000 (UTC)
User-Agent: slrn/0.9.7.4 (Linux)