From: Han Pingtian <hanpt@linux.vnet.ibm.com>
To: zsh-users@zsh.org
Subject: Re: man page bug for negative pattern?
Date: Fri, 19 Sep 2014 21:50:28 +0800 [thread overview]
Message-ID: <20140919135028.GD4265@localhost.localdomain> (raw)
In-Reply-To: <CAFOazAPkFerR_FgJ9fFVp-9Ub300+TKh6RKm55u+OK+T9UFxRg@mail.gmail.com>
On Fri, Sep 19, 2014 at 12:11:01PM +0200, Jérémie Roquet wrote:
> Hi,
>
> 2014-09-19 11:02 GMT+02:00 Han Pingtian <hanpt@linux.vnet.ibm.com>:
> > In man page of zshexpn, for "^x" negative pattern, it said:
> >
> > This has a higher precedence than `/'
> >
> > But I think the precedence should be lower than /, right? Just as the
> > zshguide said:
> >
> > In filename generation, the ^ has a lower precedence than a slash:
> >
> > in page 228.
>
> The zshguide is wrong there. It also says that “~ is the only globbing
> operator to have a lower precedence than /”
>
But if "^" has a higher precedence than "/", then
"^foo/bar"
will match any files in "." other than "foo/bar"?
next prev parent reply other threads:[~2014-09-19 13:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-19 9:02 Han Pingtian
2014-09-19 10:11 ` Jérémie Roquet
2014-09-19 13:50 ` Han Pingtian [this message]
2014-09-19 14:02 ` Jérémie Roquet
2014-09-19 14:22 ` Peter Stephenson
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=20140919135028.GD4265@localhost.localdomain \
--to=hanpt@linux.vnet.ibm.com \
--cc=zsh-users@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).