From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-request@euclid.skiles.gatech.edu Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.6/8.7.3) with ESMTP id NAA17434 for ; Thu, 28 Nov 1996 13:07:45 +1100 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id UAA18413; Wed, 27 Nov 1996 20:59:48 -0500 (EST) Resent-Date: Wed, 27 Nov 1996 20:59:48 -0500 (EST) From: Zoltan Hidvegi Message-Id: <199611272320.AAA00604@hzoli.ppp.cs.elte.hu> Subject: Re: Is ${} supported? To: aheading@jpmorgan.com (Anthony Heading) Date: Thu, 28 Nov 1996 00:20:10 +0100 (MET) Cc: zsh-workers@math.gatech.edu In-Reply-To: <199611270920.JAA24482@et-sun4.uk.jpmorgan.com> from Anthony Heading at "Nov 27, 96 09:20:41 am" X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"HN-L.0.bV4.J8Fdo"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2492 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > The "null" parameter seems useful to allow the following sort of thing: > > % echo ${(j/+/):-{one,two,three}} > one+two+three > > But does it only work by accident, or can it be relied on? Should > it be documented? It can be relied on. I suspect that I have several scripts relying on that. It should be documented of course. Zoltan