From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5092 invoked from network); 4 Feb 2000 17:15:31 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 4 Feb 2000 17:15:31 -0000 Received: (qmail 6679 invoked by alias); 4 Feb 2000 17:15:20 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9575 Received: (qmail 6670 invoked from network); 4 Feb 2000 17:15:19 -0000 From: "Bart Schaefer" Message-Id: <1000204171510.ZM8627@candle.brasslantern.com> Date: Fri, 4 Feb 2000 17:15:10 +0000 X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Export, arrays, and ksh emulation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Zsh does not export arrays. It marks them exported, but does not actually put anything into the environment. Ksh exports arrays by putting the first array element in the environment, the same way that $array == ${array[0]} (as in zsh with ksh_arrays set). Should zsh export the first element of an array, either when ksh_arrays is set or just under ksh emulation, or in some other condition (new option)? -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com