From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17954 invoked from network); 23 Aug 2001 07:41:28 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Aug 2001 07:41:28 -0000 Received: (qmail 14863 invoked by alias); 23 Aug 2001 07:41:14 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4164 Received: (qmail 14850 invoked from network); 23 Aug 2001 07:41:12 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: Borsenkow Andrej To: Borsenkow Andrej , martin.ebourne@arcordia.com, zsh-users@sunsite.dk Subject: RE: Zsh Guide chapter 5 (substitutions) Date: Thu, 23 Aug 2001 11:41:03 +0400 Message-ID: <007401c12ba6$f6191910$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <007301c12ba5$70b84fd0$21c9ca95@mow.siemens.ru> x-mimeole: Produced By Microsoft MimeOLE V6.00.2479.0006 Importance: Normal > > %hash2 = %hash; typeset -A hash2; hash2=(${(kv)hash}) > > > > Surely this should be hash2=("${(@kv)hash}") in case of empty string > > values. > > > > > No (at least, if running as zsh): > Sorry, you are right.