From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 715 invoked by alias); 6 Oct 2015 07:49:47 -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: 36799 Received: (qmail 1456 invoked from network); 6 Oct 2015 07:49:45 -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 autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=cr7nIXTBaqltVo6wmh6d0xgMl/Nu7uzinLVWV0yiK1c=; b=YXeEJYk5urLWbw9cDcKIxpwAmyxUXTMb6sv3V4TTE818hV86eCI2oemStw5/RXgeLA yopX8IZ55wz7OnqH+VqCi1PtZ6NnNqnWF/7xKfuTGwOr8yUoPUleoGwBeFEBwUq2W7bD IZPEFKkB9aoJgFu1WYSjAqu7hOoMlCEfFV6EMaFUoUnO97WJqpbCNchrnwxpW1MzMCVD zNqydvNclHY0ZT688di8cZtaDXmOY8HMSQ8cthRgPk845Fh5tZj5tNwBGRFmbVsXc6C/ pSfmUlEJu9pwwQXPKnhEFalJednQtKwUBnyJE3rvIzb8Pbcl03EBzZSYAkalbOUlKMIV PpDw== X-Gm-Message-State: ALoCoQm8gA5l+BpfwCz0FWZl4J4YtRVlrDI5sLFqDAzCmn22XsgWK6CB91kohAfgX6gqlVLQh28W X-Received: by 10.182.97.163 with SMTP id eb3mr20892122obb.0.1444117781862; Tue, 06 Oct 2015 00:49:41 -0700 (PDT) From: Bart Schaefer Message-Id: <151006004938.ZM4821@torch.brasslantern.com> Date: Tue, 6 Oct 2015 00:49:38 -0700 In-Reply-To: Comments: In reply to Mikael Magnusson "Re: "no_nomatch" and glob qualifiers" (Oct 6, 1:47am) References: <151005152247.ZM4546@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh workers Subject: Re: "no_nomatch" and glob qualifiers MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 6, 1:47am, Mikael Magnusson wrote: } } > % 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. If that were it then nobadpattern should fix it, yet for qualifiers it still fails. % setopt nonomatch nobadpattern % echo x(z) zsh: unknown file attribute: z % But on the other hand: % unsetopt nobadpattern % echo x(,) x(,) % } % echo a( } > } } also doesn't "work". Close the paren and you get zsh: unknown file attribute: \n I can counter-example that one, too: % echo x(: > ) x(: ) % A missing numeric argument is an error, but an invalid colon-modifier is not? (I'm not really arguing that we should change anything, unless somebody is convinced by this discussion that I should be.)