Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: "no_nomatch" and glob qualifiers
- X-seq: zsh-workers 36797
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: "no_nomatch" and glob qualifiers
- Date: Tue, 6 Oct 2015 01:47:23 +0200
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=i8/BsK5x92y4M50apmAoGp6G+AhDr8e8qvkul80Oc0k=; b=Z/K5QuKSxrtZG4VZxpe5nT1dvs50pujV9ma1gDSr9I7tXvhS+aqlMYKbyC2OSCZIdj 1SGVWdQUevbLHLqXwSbEfbLGTUd2a1lRIqXTMOs21Ba3akBbTLxPue/IAy2mfgJoMaMe Hfmf0TVxwA2ZUQEgqPLZuX6Jw9eBQm3Z+f9cbCgNZogKaqPd55AatRt0iv5swgnHWFbJ WwAy3Txx0GsOIS9Q8fNMZYRB81EmqunEMOH6tgPe2Nfyk/7pDW5j53gWU2deb/Uzkm/D C9/+4pDkpPDTJTqyPt5yd6t0xvGpCZccSkqe57AKgd2zUBEfOYjFIhyp2uJhJ+Lu8pzu PGVg==
- In-reply-to: <151005152247.ZM4546@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <151005152247.ZM4546@torch.brasslantern.com>
On Tue, Oct 6, 2015 at 12:22 AM, Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
> Consider:
>
> % setopt nonomatch
> % echo x(/)
> x(/)
> % echo x(a)
> zsh: number expected
> %
>
> Should that not have output "x(a)" ?
I feel like there is a difference between "this is a valid glob that
has no matches" and "this is a syntax error", and this is that
difference.
% echo a(
>
also doesn't "work".
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author