From: Ray Andrews <rayandrews@eastlink.ca>
To: zsh-users@zsh.org
Subject: Re: priority problem of ":|" and ":*"
Date: Wed, 26 Dec 2012 08:44:27 -0800 [thread overview]
Message-ID: <50DB296B.1090708@eastlink.ca> (raw)
In-Reply-To: <121226011019.ZM32249@torch.brasslantern.com>
On 26/12/12 01:10 AM, Bart Schaefer wrote:
> } For the ":*", we have this result:
> }
> } % a1=(a b c);a2=(a b c);print "${#a1:*a2}"
> } 3
>
> This is consistent with the above.
>
> I admit that this is not intuitive when applying operations to the members
> of the array, but it's the way #, ##, %, %%, and :# have always worked, so
> it's a bit late to change it and arguably worse to make it different for
> :| and :*. (My sympathies if anyone's mail reader is too clever by half
> and renders a lot of that as emoticons.)
>
I think it's astonishing that all this syntax hasn't imploded under it's
own weight ;-)
prev parent reply other threads:[~2012-12-26 17:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-24 10:52 Han Pingtian
2012-12-25 23:11 ` Han Pingtian
2012-12-26 9:10 ` Bart Schaefer
2012-12-26 10:09 ` Han Pingtian
2012-12-27 6:24 ` Bart Schaefer
2012-12-27 9:06 ` Han Pingtian
2012-12-26 16:44 ` Ray Andrews [this message]
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=50DB296B.1090708@eastlink.ca \
--to=rayandrews@eastlink.ca \
--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).