From: Mikael Magnusson <mikachu@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh workers <zsh-workers@zsh.org>
Subject: Re: "no_nomatch" and glob qualifiers
Date: Tue, 6 Oct 2015 01:47:23 +0200 [thread overview]
Message-ID: <CAHYJk3RDFBNbQ8VKfdV1Pu_nGpjHys4YKE+xYU99mF8Q2MQSFA@mail.gmail.com> (raw)
In-Reply-To: <151005152247.ZM4546@torch.brasslantern.com>
On Tue, Oct 6, 2015 at 12:22 AM, Bart Schaefer
<schaefer@brasslantern.com> 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
next prev parent reply other threads:[~2015-10-05 23:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-05 22:22 Bart Schaefer
2015-10-05 23:47 ` Mikael Magnusson [this message]
2015-10-06 7:49 ` Bart Schaefer
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=CAHYJk3RDFBNbQ8VKfdV1Pu_nGpjHys4YKE+xYU99mF8Q2MQSFA@mail.gmail.com \
--to=mikachu@gmail.com \
--cc=schaefer@brasslantern.com \
--cc=zsh-workers@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).