Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug Report: glob qualifier Lm-1 does not work



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