zsh-users
 help / color / mirror / code / Atom feed
From: Roy Zuo <roylzuo@gmail.com>
To: "Jérémie Roquet" <arkanosis@gmail.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: Bug Report: glob qualifier Lm-1 does not work
Date: Thu, 2 Sep 2010 00:38:33 +0800	[thread overview]
Message-ID: <20100901163833.GB11982@Lancelot> (raw)
In-Reply-To: <AANLkTi=EzdV2Ez_Rg46L-1TPxAYd_HFPZRryzKiXNDPd@mail.gmail.com>

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@gmail.com>:
> > 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)____
           (__)    )\
              ||--|| *


  reply	other threads:[~2010-09-01 16:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01 15:54 Roy Zuo
2010-09-01 16:16 ` Jérémie Roquet
2010-09-01 16:38   ` Roy Zuo [this message]
2010-09-01 16:36 ` Bart Schaefer
2010-09-01 17:01 ` Peter Stephenson
2010-09-05 18:38   ` 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=20100901163833.GB11982@Lancelot \
    --to=roylzuo@gmail.com \
    --cc=arkanosis@gmail.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).