🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: como puedo poner ${$#}... (bash scripting)

#10424
From: Rafael Moreno Jimenez
Date: Wed, 06 Mar 2002 07:36
3 lines
944 bytes
Segun el "Advanced Bash-Scripting Guide" la forma es:
eval a=\$$#
echo $a
Technical Details
Message-ID: <74eb6167.0203052336.7419a022@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
References: <6XYg8.21115$mz1.323523@telenews.teleline.es>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f86c8,d3a204f5a4d4aebb
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-03-05 23:36:32 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: laocanfei@yahoo.com (Rafael Moreno Jimenez)
Newsgroups: es.comp.os.linux.programacion
Subject: Re: como puedo poner ${$#}... (bash scripting)
Date: 5 Mar 2002 23:36:32 -0800
Organization: http://groups.google.com/
Lines: 3
Message-ID: <74eb6167.0203052336.7419a022@posting.google.com>
References: <6XYg8.21115$mz1.323523@telenews.teleline.es>
NNTP-Posting-Host: 194.224.58.36
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1015400192 7676 127.0.0.1 (6 Mar 2002 07:36:32 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 6 Mar 2002 07:36:32 GMT