diff options
Diffstat (limited to 'Test')
-rw-r--r-- | Test/D06subscript.ztst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Test/D06subscript.ztst b/Test/D06subscript.ztst index 9ce022557..4dd8a8237 100644 --- a/Test/D06subscript.ztst +++ b/Test/D06subscript.ztst @@ -29,12 +29,11 @@ >*, [how] I [wonder] what? You are! >] I [ - # $s[(R)x] actually is $s[0], but zsh treats 0 as 1 for subscripting. print $s[(i)x] : $s[(I)x] print $s[(r)x] : $s[(R)x] 0:Scalar pattern subscripts that do not match >61 : 0 ->: T +>: print -R $s[$s[(i)\[]] $s[(i)$s[(r)\*]] $s[(i)${(q)s[(r)\]]}] 0:Scalar subscripting using a pattern subscript to get the index |