From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24404 invoked from network); 22 Sep 2003 09:06:32 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 22 Sep 2003 09:06:32 -0000 Received: (qmail 27947 invoked by alias); 22 Sep 2003 09:06:24 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19108 Received: (qmail 27935 invoked from network); 22 Sep 2003 09:06:23 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 22 Sep 2003 09:06:23 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [193.109.254.211] by sunsite.dk (MessageWall 1.0.8) with SMTP; 22 Sep 2003 9:6:23 -0000 X-VirusChecked: Checked X-Env-Sender: okiddle@yahoo.co.uk X-Msg-Ref: server-3.tower-36.messagelabs.com!1064221581!695730 X-StarScan-Version: 5.0.7; banners=-,-,- Received: (qmail 1819 invoked from network); 22 Sep 2003 09:06:22 -0000 Received: from iris.logica.co.uk (158.234.9.163) by server-3.tower-36.messagelabs.com with SMTP; 22 Sep 2003 09:06:22 -0000 Received: from gmcs3.local ([158.234.142.61]) by iris.logica.co.uk (8.12.3/8.12.3/Debian -4) with ESMTP id h8M96Lgj029007 for ; Mon, 22 Sep 2003 10:06:21 +0100 Received: from gmcs3.local (localhost [127.0.0.1]) by gmcs3.local (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id h8M98kq29187 for ; Mon, 22 Sep 2003 11:08:46 +0200 To: Zsh X-VirusChecked: Checked X-StarScan-Version: 5.0.7; banners=.,-,- In-reply-to: <20030922083017.GA1121@DervishD> From: Oliver Kiddle References: <20030922083017.GA1121@DervishD> Subject: Re: Problem with an exported array Date: Mon, 22 Sep 2003 11:08:46 +0200 Message-ID: <29185.1064221726@gmcs3.local> DervishD wrote: > > then 'man' works OK. Am I doing something wrong or is just that > arrays cannot be exported? BTW I'm using zsh 4.0.7 Arrays cannot be exported. Not so much a zsh limitation as a limitation in the way Unix stores the environment. There are hacks which could allow us to represent arrays in it but not in a way programs like man could be expected to understand. ksh (88 and 93) seem to export just the first element for an exported array so you might argue we should do that. Oliver