🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Bash: elementos de una colección.

#5903
From: J. P.
Date: Sun, 31 Aug 2003 18:20
26 lines
1806 bytes
Respuesta al mensaje de: Pascal Bourguignon <spam@thalassa.informatimago.com>.
Con identificador: <87wucuh8gr.fsf@thalassa.informatimago.com>.

> "J. P." <not_my@mail.com> writes:
>>     objetivos()
>>     {
>>     for I in "${@}"
>>     do
>>         echo "${I}"
>>     done
>>     }
>> 
>>     COLECCION=($(objetivos "${@}"))

> �Qu� trata de hacer?

    Satisfacer mi curiosidad. Ese c�digo es una forma sintetizada de una
parte de un gui�n y, aunque ya hab�a encontrado otros caminos para
llegar al destino, �ste en concreto me hab�a dejado intrigado.

> Por que no usar un mejor lenguaje, por ejemplo lisp:

> [...]

    Le agradezco mucho su aportaci�n y es sin duda una forma m�s
eficiente de realizar la tarea destinada a ese gui�n.
Technical Details
Message-ID: <biteab$ceunk$1@ID-130393.news.uni-berlin.de>
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!fu-berlin.de!uni-berlin.de!pd9524a4e.dip.t-dialin.NET!not-for-mail
References: <birhdv$c8okj$1@ID-130393.news.uni-berlin.de> <87wucuh8gr.fsf@thalassa.informatimago.com>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,fb6dad6ad0f7d3c4
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-08-31 11:21:01 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!fu-berlin.de!uni-berlin.de!pd9524a4e.dip.t-dialin.NET!not-for-mail
From: "J. P." <not_my@mail.com>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Bash: elementos de una colección.
Date: 31 Aug 2003 18:20:59 GMT
Lines: 26
Message-ID: <biteab$ceunk$1@ID-130393.news.uni-berlin.de>
References: <birhdv$c8okj$1@ID-130393.news.uni-berlin.de> <87wucuh8gr.fsf@thalassa.informatimago.com>
NNTP-Posting-Host: pd9524a4e.dip.t-dialin.net (217.82.74.78)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de 1062354059 13073140 217.82.74.78 (16 [130393])
User-Agent: slrn/0.9.7.4 (Linux)