From 8b6c8b870a9582ad9fcbfc9d876ccbee167a89b8 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 15 Jun 2012 21:22:36 +0000 Subject: Danek: 30510: bad indentation in params.yo --- ChangeLog | 6 +++++- Doc/Zsh/params.yo | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bd0d71f14..b7a17ac2a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-06-15 Peter Stephenson + + * Danek: 30510: Doc/Zsh/params.yo: bad indentation. + 2012-06-10 Clint Adams * 30503: Completion/Unix/Command/_mosh: rudimentary @@ -16355,5 +16359,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5666 $ +* $Revision: 1.5667 $ ***************************************************** diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index f6a109007..5991921f8 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -226,6 +226,7 @@ example (assuming the option tt(KSH_ARRAYS) is not in effect): example([[ ${array[(i)pattern]} -le ${#array} ]]) If tt(KSH_ARRAYS) is in effect, the tt(-le) should be replaced by tt(-lt). +) item(tt(R))( Like `tt(r)', but gives the last match. For associative arrays, gives all possible matches. May be used for assigning to ordinary array @@ -244,7 +245,6 @@ required; using a parameter to hold the key has the desired effect: example(key2='original key' print ${array[(Re)$key2]}) ) -) item(tt(i))( Like `tt(r)', but gives the index of the match instead; this may not be combined with a second argument. On the left side of an assignment, -- cgit 1.4.1