Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug Report: glob qualifier Lm-1 does not work
- X-seq: zsh-users 15349
- From: Roy Zuo <roylzuo@xxxxxxxxx>
- To: JÃrÃmie Roquet <arkanosis@xxxxxxxxx>
- Subject: Re: Bug Report: glob qualifier Lm-1 does not work
- Date: Thu, 2 Sep 2010 00:38:33 +0800
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:content-transfer-encoding:in-reply-to :x-pgp-key-id:user-agent; bh=PM45Hakrtay/NbmI0/S77dAaeIYC1tmO5ddBUWX7grA=; b=qfwty8CNeMPQEE9JqigzkotYSSoBJt3aBt+79l1WMLdBBw9AkIPPHpzmvKc91O040P XNe9dlqle9aNj3ZFu6FB4bTbPe0opxlmYtjQ/juummEcywMocSxPNFTmDdDapwmcgSr6 oxvY4WLDX+FV7JZ33Rh/Namy+2/kMykI2Xo1I=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:x-pgp-key-id:user-agent; b=RC9FiXXW2nZs4dWCs/yacZztiyvIerPrgqnyaM8gsbzzLFQQgarITR8OnjS/O88ZAn HMPEUki4Mx7lU8AUzh2BsaKtJgV5rjOTDRTtS+qDoHPPWjpgN2yGAR6BSEntv3Hpwo2g UVP0/IeSuVuwUil+gifZ5aIvNXUPgMZ4fEjYE=
- In-reply-to: <AANLkTi=EzdV2Ez_Rg46L-1TPxAYd_HFPZRryzKiXNDPd@xxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: JÃrÃmie Roquet <arkanosis@xxxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20100901155416.GA8509@Lancelot> <AANLkTi=EzdV2Ez_Rg46L-1TPxAYd_HFPZRryzKiXNDPd@xxxxxxxxxxxxxx>
Hi,
Sorry I made some mistake about Lk-1. It has the same issue as well.
If the problem is because of the minimal file size set by the file system, then
it could not explain why Lm-2 and Lk-2 work. Lm-1 and Lk-1 only capture zero
size files here. My zsh version is 4.3.10 .
Roy
$ ll *(Lm-2)
-rw-r--r-- 1 roylez roylez 4.0K [2010-09-01 8:39] abc
-rw-r--r-- 1 roylez roylez 0 [2010-09-02 0:24] bcd
-rw-r--r-- 1 roylez roylez 2 [2010-09-02 0:28] efg
$ ll *(Lm-1)
-rw-r--r-- 1 roylez roylez 0 [2010-09-02 0:24] bcd
$ ll *(Lk-1)
-rw-r--r-- 1 roylez roylez 0 [2010-09-02 0:24] bcd
$ ll *(Lk-2)
-rw-r--r-- 1 roylez roylez 0 [2010-09-02 0:24] bcd
-rw-r--r-- 1 roylez roylez 2 [2010-09-02 0:28] efg
On Wed, Sep 01, 2010 at 06:16:59PM +0200, JÃrÃmie Roquet wrote:
> Hi,
>
> 2010/9/1 Roy Zuo <roylzuo@xxxxxxxxx>:
> > Some one just tells me that glob qualifier Lm-1 in zsh does not work, and I
> > can confirm it is true. Whenever you do
> >
> > Â Âls *(Lm-1)
> >
> > it complains "no matches found". Lm+1, Lk-1024, Lk-1, Lm-2 all work well. The
> > only thing that does not work is Lm-1.
>
> Can't it be because of the minimal file size allowed by your filesystem?
>
> I get :
>
> $ ls *(Lm-1)
> zsh: no matches found: *(Lm-1)
> $ touch foo
> $ ls *(Lm-1)
> foo
> $ echo -n c >| foo
> $ ls *(Lm-1)
> zsh: no matches found: *(Lm-1)
>
> --
> JÃrÃmie
>
--
_____________________________________________________________________
/ You are always doing something marginal when the boss drops by your \
\ desk. /
---------------------------------------------------------------------
\ ,__,
\ (oo)____
(__) )\
||--|| *
Messages sorted by:
Reverse Date,
Date,
Thread,
Author