Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [frederik@xxxxxxxxxxxxxxxx: Bug#236748: zsh: associative array documentation reference broken]
- X-seq: zsh-workers 19563
- From: Clint Adams <clint@xxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: [frederik@xxxxxxxxxxxxxxxx: Bug#236748: zsh: associative array documentation reference broken]
- Date: Mon, 8 Mar 2004 11:35:28 -0500
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <4411.1078761076@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20040308152325.GB9385@xxxxxxxxxxx> <4411.1078761076@xxxxxxx>
> Could someone produce a patch? As I've been saying, I'm just snowed
> under at the moment.
Here it is almost verbatim; should I commit it?
Index: Doc/Zsh/params.yo
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/params.yo,v
retrieving revision 1.19
diff -u -r1.19 params.yo
--- Doc/Zsh/params.yo 30 Aug 2003 19:06:10 -0000 1.19
+++ Doc/Zsh/params.yo 8 Mar 2004 16:26:17 -0000
@@ -108,7 +108,10 @@
`tt("$foo[*]")' evaluates to `tt("$foo[1] $foo[2] )...tt(")', whereas
`tt("$foo[@]")' evaluates to `tt("$foo[1]" "$foo[2]" )...'. For
associative arrays, `tt([*])' or `tt([@])' evaluate to all the values (not
-the keys, but see em(Subscript Flags) below), in no particular order.
+the keys, but see the documentation for the `tt(k)' flag under
+ifzman(em(Parameter Expansion Flags) in zmanref(zshexpn))\
+ifnzman(noderef(Parameter Expansion))
+for complete details.), in no particular order.
When an array parameter is referenced as `tt($)var(name)' (with no
subscript) it evaluates to `tt($)var(name)tt([*])', unless the tt(KSH_ARRAYS)
option is set in which case it evaluates to `tt(${)var(name)tt([0]})' (for
Messages sorted by:
Reverse Date,
Date,
Thread,
Author