Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
question about glob qualifier format (#qx)
- X-seq: zsh-users 17983
- From: Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: question about glob qualifier format (#qx)
- Date: Fri, 20 Sep 2013 19:11:10 +0800
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hello,
I'm confused about the usage of glob qualifier format "(#qx)". The man
page says:
...... Also, as the syntax is unambiguous,
the expression will be treated as glob qualifiers just as long any
parentheses contained within it are balanced; appearance of `|', `(' or
`~' does not negate the effect.
But looks like if I put them in parentheses, it will not take effect any more:
$ ls
1.c 2.h a b slink
$ echo *((#q/))
1.c 2.h a b slink
So I'd like to know how to comprehend the manpage here? Thanks in
advance!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author