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!
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!
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
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
|
DetailsDescription:
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 :-)
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).