* patch for Doc/Zsh/params.yo
@ 2012-06-15 20:16 Danek Duvall
0 siblings, 0 replies; only message in thread
From: Danek Duvall @ 2012-06-15 20:16 UTC (permalink / raw)
To: zsh-workers
Noticed this in the manpage, with the "R" paragraph indented too far.
Luckily, pretty straightforward.
--- Doc/Zsh/params.yo Fri Jun 15 13:15:01 2012
+++ Doc/Zsh/params.yo.new Fri Jun 15 13:15:08 2012
@@ -226,6 +226,7 @@
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 @@
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,
Thanks,
Danek
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-06-15 20:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-15 20:16 patch for Doc/Zsh/params.yo Danek Duvall
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).