From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29708 invoked by alias); 5 Oct 2015 23:47:29 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 36797 Received: (qmail 6118 invoked from network); 5 Oct 2015 23:47:27 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 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== MIME-Version: 1.0 X-Received: by 10.140.217.70 with SMTP id n67mr45569416qhb.96.1444088843307; Mon, 05 Oct 2015 16:47:23 -0700 (PDT) In-Reply-To: <151005152247.ZM4546@torch.brasslantern.com> References: <151005152247.ZM4546@torch.brasslantern.com> Date: Tue, 6 Oct 2015 01:47:23 +0200 Message-ID: Subject: Re: "no_nomatch" and glob qualifiers From: Mikael Magnusson To: Bart Schaefer Cc: zsh workers Content-Type: text/plain; charset=UTF-8 On Tue, Oct 6, 2015 at 12:22 AM, Bart Schaefer 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