From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id b7b1956a for ; Wed, 27 Nov 2019 13:01:34 +0000 (UTC) Received: (qmail 24446 invoked by alias); 27 Nov 2019 13:01:23 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24465 Received: (qmail 22950 invoked by uid 1010); 27 Nov 2019 13:01:23 -0000 X-Qmail-Scanner-Diagnostics: from aurora-borealis.phear.org by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.0/25642. spamassassin: 3.4.2. Clear:RC:0(94.242.205.164):SA:0(-0.1/5.0):. Processed in 1.715188 secs); 27 Nov 2019 13:01:23 -0000 X-Envelope-From: eiro@phear.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at phear.org designates 94.242.205.164 as permitted sender) X-Virus-Scanned: amavisd-new at phear.org DKIM-Filter: OpenDKIM Filter v2.10.3 aurora-borealis.phear.org B9C17110EA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=phear.org; s=20180217; t=1574859640; bh=68gUT43qkCbeuQpsDlLuN6QWY5fsKDNBo/rMYzLUjw0=; h=Date:From:To:Subject:From; b=cHXAusHtQ3+JMVh2oldfXNCfFOOkxjkrTxYtHw2oYdyIlag1RM4VkEvZTDFo1SCX5 aLKXMzfhObdyJ+hEO8ikDJXDOChgePt8jnvdEcEzRGp0Wf2+XrnqTunT0RA95KqYp9 F7u1fzpDGPDDi1/dTiW0RBsCzICtiIgtOz/4FFbYrl9I/+LQ+9JcZUxpSs4EsDFxoe vDCt2dd30rVLysNp48ZyorFn6FFBTtGYjw9Jdu/QOyy/9uSKgEC7+kuog+RvzOtqkZ QSEjc1Dp5veRIjzdjr9v/ME5LPOU3EqLYuvOCcUR8Lr5kspdctTSucqpKKlGJgTyq+ hCO5FwRGhpgvA== Date: Wed, 27 Nov 2019 14:00:38 +0100 From: Marc Chantreux To: Zsh Users Subject: (0) not working ? Message-ID: <20191127130038.GA19354@prometheus.u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.10.1 (2018-07-13) hello people, in zshexpn, i read about 0: "This is a shorthand for `ps:\0:'". so i wrote: assigned_to=3D( qa c c++ ) local -A user=3D( login marc roles ${(j:\0:)assigned_to} ) print -l ${(s:\0:)user[roles]} print -l ${(@0)user[roles]} print -l ${(@0)user[roles]} and i got qa c c++ qa=00c=00c++ qa=00c=00c++ is there something to setopt? did i miss something ? regards, marc