🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Asignar el resultado de una orden a una variable

#10245
From: Ignacio Arenaza
Date: Sat, 16 Mar 2002 22:01
26 lines
1825 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "F" == F  <jl1234@QUITAESTOteleline.es> writes:

    F> tengo una duda, �como asigno el recultado de un comando a una
    F> varible?

Usa las comillas simples invertidas (backticks):

        a=`ls -l angenda`

Saludos. I�aki.

- -- 
  Get PGP/GPG Keys at  http://www.escomposlinux.org/iarenaza/pgpkey.html
  I use free software / Yo uso software libre

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt and GPG

iD8DBQE8k8DPZXLnGT1HLgcRAv2IAJ0aGGD5Ch2h6KdHsX3SjzeRGOxwLwCeNmpU
8Qh3D8CPF6s9xlZqjWoOm9U=
=2Yv3
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <87it7wuq7k.fsf@eb2ebu.ampr.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!213-98-107-123.uc.nombres.ttd.ES!not-for-mail
References: <OiNk8.121680$EH2.437754@telenews.teleline.es>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f86c8,bc8291656fcf43d8
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-03-16 16:15:16 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!213-98-107-123.uc.nombres.ttd.ES!not-for-mail
From: Ignacio Arenaza <iarenaza@eb2ebu.ampr.org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Asignar el resultado de una orden a una variable
Date: 16 Mar 2002 23:01:51 +0100
Organization: Servidor NNTP de eb2ebu.ampr.org
Lines: 26
Message-ID: <87it7wuq7k.fsf@eb2ebu.ampr.org>
References: <OiNk8.121680$EH2.437754@telenews.teleline.es>
NNTP-Posting-Host: 213-98-107-123.uc.nombres.ttd.es (213.98.107.123)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 1016324114 18247257 213.98.107.123 (16 [64988])
X-Orig-Path: antonio.escomposlinux.org!julieta.escomposlinux.org!dakota.dakotabcn.net!news.audiolis.com!192.168.5.1!news.antakira.com!eb2ebu.ampr.org!not-for-mail
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7