zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: PATCH: [key]=value syntax, work in progress
Date: Tue, 12 Sep 2017 21:28:50 +0100	[thread overview]
Message-ID: <20170912212850.0185635c@ntlworld.com> (raw)
In-Reply-To: <20170912212519.3d873212@ntlworld.com>

On Tue, 12 Sep 2017 21:25:19 +0100
Peter Stephenson <p.w.stephenson@ntlworld.com> wrote:
> Note that this syntax is strict: tt([) and tt(]=) must
> not be quoted, while var(key) may not consist of the unquoted string
> tt(]=), but is otherwise treated as a simple string.  Furthermore, all
> elements must match this form or an error is genereted

OK, so bash says this is valid:

$ array=([3]=three four [1]=one two)
$ echo ${array[*]}
one two three four

I'll fix that another time.

pws


  reply	other threads:[~2017-09-12 20:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-11 20:51 Peter Stephenson
2017-09-11 20:56 ` Peter Stephenson
2017-09-12 20:25 ` Peter Stephenson
2017-09-12 20:28   ` Peter Stephenson [this message]
2017-09-13  7:13   ` Bart Schaefer
2017-09-13  8:53     ` Peter Stephenson
2017-09-13 16:44       ` Bart Schaefer
2017-09-14 20:48         ` Peter Stephenson
2017-09-19  1:13           ` Bart Schaefer
2017-09-13  9:14   ` Oliver Kiddle
2017-09-13 19:41     ` Peter Stephenson
2017-09-14  7:03       ` Daniel Shahaf
2017-09-14 20:38       ` Peter Stephenson
2017-09-16 10:30         ` Daniel Shahaf
2017-09-14  6:54     ` 'typeset -p' of assocs (was: Re: PATCH: [key]=value syntax, work in progress) Daniel Shahaf

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=20170912212850.0185635c@ntlworld.com \
    --to=p.w.stephenson@ntlworld.com \
    --cc=zsh-workers@zsh.org \
    /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).