Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: nonomatch and *([x,y])
- X-seq: zsh-workers 26499
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: Re: nonomatch and *([x,y])
- Date: Sat, 31 Jan 2009 18:56:24 +0000
- In-reply-to: <20090130195554.GA14482@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20090130195554.GA14482@xxxxxxxxxxxxxxx>
On Fri, 30 Jan 2009 19:55:54 +0000
Stephane Chazelas <Stephane_Chazelas@xxxxxxxx> wrote:
> 4.3.9-dev-1-cvs0122$ zsh -fc 'f() echo $#; f *([1000,20000])'
> 0
>
> Shouldn't I get a:
>
> zsh:1: no matches found: *([1000,20000])
>
> IIRC I think I did some time ago
I don't think so... I'd be surprised, because that's not how array
accesses usually work, and this is deliberately similar. However, you
can certainly argue it should do that in this case to avoid suprises.
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author