From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3839 invoked from network); 23 Sep 2003 07:55:18 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 23 Sep 2003 07:55:18 -0000 Received: (qmail 28364 invoked by alias); 23 Sep 2003 07:55:02 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19125 Received: (qmail 28313 invoked from network); 23 Sep 2003 07:55:01 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 23 Sep 2003 07:55:01 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [193.109.254.211] by sunsite.dk (MessageWall 1.0.8) with SMTP; 23 Sep 2003 7:55:0 -0000 X-VirusChecked: Checked X-Env-Sender: okiddle@yahoo.co.uk X-Msg-Ref: server-22.tower-36.messagelabs.com!1064303694!716893 X-StarScan-Version: 5.0.7; banners=-,-,- Received: (qmail 21890 invoked from network); 23 Sep 2003 07:54:54 -0000 Received: from iris.logica.co.uk (158.234.9.163) by server-22.tower-36.messagelabs.com with SMTP; 23 Sep 2003 07:54:54 -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 h8N7ssgj010022 for ; Tue, 23 Sep 2003 08:54:54 +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 h8N7vEq04240 for ; Tue, 23 Sep 2003 09:57:14 +0200 To: Zsh X-VirusChecked: Checked X-StarScan-Version: 5.0.7; banners=.,-,- In-reply-to: <7352.1064245936@csr.com> From: Oliver Kiddle References: <7352.1064245936@csr.com> Subject: Re: Problem with an exported array Date: Tue, 23 Sep 2003 09:57:14 +0200 Message-ID: <4238.1064303834@gmcs3.local> Peter wrote: > Bart Schaefer wrote: > > Why not make it fully general, e.g. > > > > typeset -T -S ' ' PAGER pager > > As I said before, there's nowhere in struct param to store the > character; else it's not that hard. Maybe you can see a trick. It would probably be better to use this syntax though even if we have to restrict the separator to space and colon for the time being until the parameter code is more flexible. -d would probably be a better choice than -S though (consistent with read and externals like cut). As for the ct suggestion, I'm not sure which I'm less likely to need: a separator other than space and colon or field widths on a tied array. I think I may have wanted a semi-colon once on Cygwin but we do risk breaking existing scripts. Oliver