🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Ejecución de programas en bash

#6152
From: sio2
Date: Mon, 04 Aug 2003 15:44
23 lines
1839 bytes
El lunes, 04 de agosto de 2003, a las 15:03 GMT, Gorka Olaizola escribi�:
> Hola,
> 
> Estoy intentando en un script ejecutar comandos contenidos en una variable
> pero por lo que veo con la opci�n -x me est� metiendo algunos caracteres
> entre comillas simples y no funciona bien ya que toma esos par�metros como
> par�metros del programa.
> 
> El script es tal que as�:
> 
>     [...] 
>     $command &

Prueba:

eval $command &

-- 
Sabed que menda es don Mendo.
                  --- Mu�oz Seca ---
   Si     Di�xido de Silicio |        Debian GNU/Linux 
  /  \         (SiO2)        |    Jos� Miguel S�nchez Al�s
 O    O   Mineral de Cuarzo  |  sio2.arr@ba.online.fr | URL #257033
Technical Details
Message-ID: <slrnbisvr0.c2c.sio2.arr@cebolleta.net.dhis.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!130.133.1.3.MISMATCH!fu-berlin.de!uni-berlin.de!22.red-80-37-129.pooles.rima-tde.NET!not-for-mail
References: <slrnbistcr.l5r.gorka@conn.helvete.escomposlinux.org>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,b3fac0bc90ee191c
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-08-04 08:44:42 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!130.133.1.3.MISMATCH!fu-berlin.de!uni-berlin.de!22.red-80-37-129.pooles.rima-tde.NET!not-for-mail
From: sio2 <sio2.arr@ba.online.fr>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Ejecución de programas en bash
Date: Mon, 4 Aug 2003 17:44:32 +0200
Lines: 23
Message-ID: <slrnbisvr0.c2c.sio2.arr@cebolleta.net.dhis.org>
References: <slrnbistcr.l5r.gorka@conn.helvete.escomposlinux.org>
Reply-To: sio2.arr@ba.online.fr
NNTP-Posting-Host: 22.red-80-37-129.pooles.rima-tde.net (80.37.129.22)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de 1060011881 27599163 80.37.129.22 (16 [113866])
X-Orig-Path: cebolleta.net.dhis.org!news
User-Agent: slrn/0.9.7.4 (Linux)