From: Kobayashi Noritada <nori1@dolphin.c.u-tokyo.ac.jp>
To: zsh-workers@sunsite.dk
Subject: Globbing for directory names with two '='-s fail after 4.2.2.
Date: Wed, 16 Mar 2005 16:57:18 +0900 (JST) [thread overview]
Message-ID: <20050316.165718.71117897.nori1@dolphin.c.u-tokyo.ac.jp> (raw)
Hi,
Globbing for directory names with two '='-s sometimes fails
(i.e. wildcards '*' and '?' don't work) with Zsh after 4.2.2.
It seems to be related to changes in Src/{glob.c,pattern.c} on 2004-10-18.
Since it is a little bit inconvenient for me, I'd like to create a patch
but cannot do so at present.
Is this a known issue?
Detailed reports are in the lower part of this mail.
If I need to offer more information or to do more tests, I'll do so.
Thanks,
--
== Example
noritada[13:15]% zsh --version golbeza:~/tmp
zsh 4.2.4 (i686-pc-linux-gnu)
noritada[13:16]% ls * golbeza:~/tmp
a=b.c_d=e.f:
hoge
a=b_c=d:
hoge
bar:
hoge
foo:
hoge hoge2
foo+bar:
hoge
foo=bar:
hoge
foo_bar:
hoge
ra=1.0e7_et=3.5:
hogebar
noritada[13:20]% ls foo/* bar/* foo+bar/* foo=bar/* foo_bar/* a=b.c_d=e.f/* a=b_c=d/*
a=b.c_d=e.f/hoge bar/hoge foo/hoge foo=bar/hoge
a=b_c=d/hoge foo+bar/hoge foo/hoge2 foo_bar/hoge
noritada[13:20]% ls foo/* bar/* foo+bar/* foo=bar/* foo_bar/* a=b.c_d=e.f/* a=b_c=d/* ra=1.0e7_et=3.5/*
zsh: no matches found: ra=1.0e7_et=3.5/*
noritada[13:20]% ls foo/* bar/* foo+bar/* foo=bar/* foo_bar/* a=b.c_d=e.f/* a=b_c=d/* ra=1.0e7_et=3.5/???????
zsh: no matches found: ra=1.0e7_et=3.5/???????
== Occurrence condition
=== Directory name patterns
I tested with various directory names, but couldn't find a rule:
* Success in globbing
* "ra=1_et=3"
* "r=.r=."
* "ra=1.0"
* "r=1.r=1"
* "r=1r=1."
* "r=..=r"
* ".=."
* Failure in globbing
* "ra=1.0_et=3.5"
* "ra=1.0et=3.5"
* "r=1.r=1."
* "r=1..r=1"
* ".=r=."
* ".==."
* ".=.="
=== Version info
* Success in globbing
* 4.2.1
* CVS release branch "zsh-4_2-patches" on 2004-09-01
* CVS release branch "zsh-4_2-patches" on 2004-10-01
* CVS release branch "zsh-4_2-patches" on 2004-10-18
* Failure in globbing
* 4.2.2
* 4.2.3
* 4.2.4
* CVS release branch "zsh-4_2-patches" on 2004-10-19
* CVS release branch "zsh-4_2-patches" on 2004-11-01
--
|: Noritada KOBAYASHI
|: Dept. of General Systems Studies,
|: Graduate School of Arts and Sciences, Univ. of Tokyo
|: E-mail: nori1@dolphin.c.u-tokyo.ac.jp (preferable)
|: nori@esa.c.u-tokyo.ac.jp
next reply other threads:[~2005-03-16 7:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-16 7:57 Kobayashi Noritada [this message]
2005-03-16 11:13 ` Peter Stephenson
2005-03-17 6:13 ` Kobayashi Noritada
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=20050316.165718.71117897.nori1@dolphin.c.u-tokyo.ac.jp \
--to=nori1@dolphin.c.u-tokyo.ac.jp \
--cc=zsh-workers@sunsite.dk \
/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).