Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: how do I get the last argument from a list of arguments?
- X-seq: zsh-users 18936
- From: Roman Neuhauser <neuhauser@xxxxxxxxxx>
- To: zzapper <david@xxxxxxxxxxxxxx>
- Subject: Re: how do I get the last argument from a list of arguments?
- Date: Tue, 8 Jul 2014 17:06:21 +0200
- Cc: zsh-users@xxxxxxx
- In-reply-to: <XnsA3649A9036473davidrayninfocouk@80.91.229.13>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CADjGqHuALx7Ue3Ei3s7XvT_pHWxECo2rt=BNegPO5Fwcuge2LQ@mail.gmail.com> <XnsA3648D0E647C1davidrayninfocouk@80.91.229.13> <XnsA3649A9036473davidrayninfocouk@80.91.229.13>
# david@xxxxxxxxxxxxxx / 2014-07-08 14:11:40 +0000:
> zzapper <david@xxxxxxxxxxxxxx> wrote in
> news:XnsA3648D0E647C1davidrayninfocouk@80.91.229.13:
>
> > p()
> > {
> > echo "last ${@[-1]}"
> > echo "2nd last ${@[-2]}"
> > }
> > p a b c d
>
>
> just trying to see if i can display the at sign correctly by using an html
> entity & #64 ;
your email had no MIME information let alone the text/html content type.
--
roman
Messages sorted by:
Reverse Date,
Date,
Thread,
Author