Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#20695 - [zsh] glob qualifier "Lm" does not work with "-1"

Attached to Project: Arch Linux
Opened by Roy Zuo (roylez) - Wednesday, 01 September 2010, 04:17 GMT
Last edited by Pierre Schmitz (Pierre) - Thursday, 02 September 2010, 10:49 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

ls *(Lm-1)

is expected to list all files smaller than 1M, but zsh always gives error "no match found". "Lm-2", "Lm+1", "Lk-1024" and "Lk-1" all work as expected. So, the only thing that does not work is "Lm-1".

Additional info:
* package version(s)
zsh 4.3.10
* config and/or log files etc.

Steps to reproduce:

Run the following command in a directory with some small files.

ls *(Lm-1)
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Thursday, 02 September 2010, 10:49 GMT
Reason for closing:  Not a bug
Additional comments about closing:  it's a feature :-)
Comment by Pierre Schmitz (Pierre) - Wednesday, 01 September 2010, 15:24 GMT
Would you mind to bring this up on the upstream mailinglist (zsh-workers@zsh.org)? I have tested this also on Grml (Debian based) and it didn't work there either. So I would assume this is either an upstream bug or the documentation in misleading.
Comment by Roy Zuo (roylez) - Wednesday, 01 September 2010, 16:03 GMT
Reported to upstream. :)
Comment by Pierre Schmitz (Pierre) - Wednesday, 01 September 2010, 17:00 GMT
Thanks. Here is the upstream link for the record: http://www.zsh.org/mla/users//2010/msg00646.html
Comment by Roy Zuo (roylez) - Thursday, 02 September 2010, 10:47 GMT
This thread can be closed. It is a feature. Lm1 gets files with a size between 0 and 1M. Lm+1 gets files larger than 1M. Lm-1 get files smaller than 0M (in this case only empty files).

Loading...