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

(r) flag on scalar



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