Article View: es.comp.os.linux.programacion
Article #16266Re: �c�mo pasarle los datos de un archivo a un script?
From: Han Solo
Date: Sat, 29 Apr 2000 00:00
Date: Sat, 29 Apr 2000 00:00
40 lines
1769 bytes
1769 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 gorka@news.hondarribia.org (Gorka Olaizola) writes: > --> for i in `cat fichero.txt`; > --> do > --> hazloqueseacon $i; > --> done > --> > Hace poco intent� hacer algo parecido y si los nombres de ficheros > ten�an espacios a m� me petaba. �Hay alguna soluci�n para esto? > Vi algo con xargs, pero leyendo el man no entiendo lo que hace. Yo descubr� (tarde) que se solucionaba con hazloqueseacon "$i"; o tal vez fuera con comillas sencillas. - -- Un Saludo Han Solo The Rebel Alliance Emacs is not on every system So what? [...] Do you tell your administrative people to stick with notepad.exe? Do you tell your fat kids they can only have the crummy games that come with their video games or plain dress that comes with Barbie? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.1 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.5 and Gnu Privacy Guard <http://www.gnupg.org/> iEYEARECAAYFAjkLPMMACgkQ4FjpJaPEp22CwACdFAfu10b0BuNs6Gdt62GJ/Vmf A2kAn3vLYtsyoPTkHPrp9/HapAOIxVIo =PS1W -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<873do4wuuy.fsf@alderaan.maptel.es>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<e56bgs8h924d63124vvealn7da34bnm29r@4ax.com> <m3g0sa3ysm.fsf@asimovi.localdomain> <rktdgsg1u46o678s53joovfpih3ibblnlj@4ax.com> <slrn8gg5fn.vp.nop@compiler.linux.es> <slrn8gl81d.3dc.gorka@conan.hondarribia.org>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f86c8,759a087e068186e1 X-Google-Attributes: gidf86c8,public From: Han Solo <hsolo@maptel.es> Subject: Re: �c�mo pasarle los datos de un archivo a un script? Date: 2000/04/29 Message-ID: <873do4wuuy.fsf@alderaan.maptel.es> X-Deja-AN: 617438103 References: <e56bgs8h924d63124vvealn7da34bnm29r@4ax.com> <m3g0sa3ysm.fsf@asimovi.localdomain> <rktdgsg1u46o678s53joovfpih3ibblnlj@4ax.com> <slrn8gg5fn.vp.nop@compiler.linux.es> <slrn8gl81d.3dc.gorka@conan.hondarribia.org> Organization: The Rebel Alliance X-Server-Date: 29 Apr 2000 19:49:25 GMT Newsgroups: es.comp.os.linux.programacion