[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Referencing last positional variable

From: Paul Jarc
Subject: Re: Referencing last positional variable
Date: Thu, 21 Mar 2002 21:34:18 -0500
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/20.7 (i386-redhat-linux-gnu)

"Robert Mark Bram" <address@hidden> wrote:
> I have a script in which I would like to access the last positional variable
> directly (and I don't know how many paramaters will be issued).

This sort of question would be better off on comp.unix.shell.
eval "last=\$$#"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]