From: Roman Neuhauser <neuhauser@sigpipe.cz>
To: zzapper <david@rayninfo.co.uk>
Cc: zsh-users@zsh.org
Subject: Re: how do I get the last argument from a list of arguments?
Date: Tue, 8 Jul 2014 17:06:21 +0200 [thread overview]
Message-ID: <20140708150621.GJ11492@isis.sigpipe.cz> (raw)
In-Reply-To: <XnsA3649A9036473davidrayninfocouk@80.91.229.13>
# david@rayninfo.co.uk / 2014-07-08 14:11:40 +0000:
> zzapper <david@rayninfo.co.uk> 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
next prev parent reply other threads:[~2014-07-08 15:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <luomat@gmail.com>
2014-07-07 21:06 ` TJ Luoma
2014-07-07 21:33 ` Kurtis Rader
2014-07-07 21:35 ` Peter Stephenson
2014-07-07 22:06 ` Bart Schaefer
2014-07-08 12:52 ` zzapper
2014-07-08 14:11 ` zzapper
2014-07-08 15:06 ` Roman Neuhauser [this message]
2014-07-08 15:25 ` zzapper
2014-07-08 15:42 ` Roman Neuhauser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140708150621.GJ11492@isis.sigpipe.cz \
--to=neuhauser@sigpipe.cz \
--cc=david@rayninfo.co.uk \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).