Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Globbing for directory names with two '='-s fail after 4.2.2.
- X-seq: zsh-workers 20982
- From: Kobayashi Noritada <nori1@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Globbing for directory names with two '='-s fail after 4.2.2.
- Date: Wed, 16 Mar 2005 16:57:18 +0900 (JST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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@xxxxxxxxxxxxxxxxxxxxxxx (preferable)
|: nori@xxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author