Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
(r) flag on scalar
- X-seq: zsh-users 19983
- From: Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx>
- To: zsh-user <zsh-users@xxxxxxx>
- Subject: (r) flag on scalar
- Date: Mon, 9 Mar 2015 07:38:21 +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>
- Mail-followup-to: zsh-user <zsh-users@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
I think below command line should give result "bc", but:
localhost% s=abcdefg
localhost% print $s[(r)bc]
b
localhost%
Looks like this isn't intuitional.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author