zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Cc: 236748-forwarded@bugs.debian.org
Subject: Re: [frederik@ugcs.caltech.edu: Bug#236748: zsh: associative array documentation reference broken]
Date: Mon, 8 Mar 2004 22:19:59 +0000	[thread overview]
Message-ID: <1040308221959.ZM13999@candle.brasslantern.com> (raw)
In-Reply-To: <20040308152325.GB9385@scowler.net>

On Mar 8, 10:23am, Clint Adams wrote:
}
}  For associative arrays, `[*]' or `[@]' evaluate to all the values
}  (not the keys, but see Subscript Flags below), in no particular
}  order.
} 
} There is nothing relevant to this syntax under Subscript Flags.

Yes, there is.  The k, K, and e subscript flags all affect the
intepretation of * and @.  It's true that [(K)*] is nearly the same
as [*], but [(k)*] is quite different, as both [(k)@] and [(K)@] are
from [@].

}  For associative arrays, `[*]' or `[@]' evaluate to all the values
}  (not the keys, but see the documentation for the 'k' flag under
}  Parameter Expansion Flags in zshexpn(1)), in no particular order.

No, this is NOT what it should say, or at least not ALL that it should
say.


  parent reply	other threads:[~2004-03-08 22:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-08 15:23 Clint Adams
2004-03-08 15:51 ` Peter Stephenson
2004-03-08 16:35   ` Clint Adams
2004-03-08 16:40     ` Peter Stephenson
2004-03-08 17:02       ` Clint Adams
2004-03-08 22:19 ` Bart Schaefer [this message]
2004-03-09  9:57   ` Oliver Kiddle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1040308221959.ZM13999@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=236748-forwarded@bugs.debian.org \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).