🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: otra cosita sh. script

#1807
From: David Serrano (Hue-Bond)
Date: Tue, 16 Aug 2005 22:32
17 lines
1627 bytes
Alberto Cabello Sanchez, lun20050808@10:37:32(CEST):
>
> #!/bin/bash
> bash  -c "export a=2"
> echo $a
> a=2
> bash  -c 'echo $a'
> export a
> bash  -c 'echo $a'
>
> Me salen dos líneas en blanco y un 2

Correcto, ¿cuál era el problema?


-- 
 David Serrano
Technical Details
Message-ID: <slrndg4qbp.l3p.responder_solo_en_el_grupo@genus.hue-bond.info>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!peer01.west.cox.net!cox.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!antonio.escomposlinux.org!cernicalo.escomposlinux.org!escomposlinux.org!not-for-mail
References: <3le2m2F11ptbkU1@individual.net> <3leb29F1235rcU1@individual.net> <93u3f15ut5eqr3gci0damhbngvbto3urp2@4ax.com> <dcv5du$nod$1@appleseed.escomposlinux.org> <4s96f11tkreq9kvv4dpe7ugt0mr70e3lu8@4ax.com> <dd75ki$sp$1@appleseed.escomposlinux.org>

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,4f55cc92aa244081
X-Google-Attributes: gidf86c8,public
X-Google-Language: SPANISH,UTF8
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!peer01.west.cox.net!cox.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!antonio.escomposlinux.org!cernicalo.escomposlinux.org!escomposlinux.org!not-for-mail
From: "David Serrano (Hue-Bond)" <responder_solo_en_el_grupo@yahoo.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: otra cosita sh. script
Date: Tue, 16 Aug 2005 22:32:25 +0000 (UTC)
Organization: I work for myself
Lines: 17
Message-ID: <slrndg4qbp.l3p.responder_solo_en_el_grupo@genus.hue-bond.info>
References: <3le2m2F11ptbkU1@individual.net> <3leb29F1235rcU1@individual.net> <93u3f15ut5eqr3gci0damhbngvbto3urp2@4ax.com> <dcv5du$nod$1@appleseed.escomposlinux.org> <4s96f11tkreq9kvv4dpe7ugt0mr70e3lu8@4ax.com> <dd75ki$sp$1@appleseed.escomposlinux.org>
NNTP-Posting-Host: 84.77.99.229
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: cormoran.emeteo.local 1124231545 19990 84.77.99.229 (16 Aug 2005 22:32:25 GMT)
X-Complaints-To: emeteo@escomposlinux.org
NNTP-Posting-Date: Tue, 16 Aug 2005 22:32:25 +0000 (UTC)
X-Message-Flag: Visit http://www.debian.org/
X-MSMail-Priority: High
Mail-Copies-To: nobody
User-Agent: slrn/0.9.8.1pl1 (Debian)