From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1313 invoked by alias); 19 Dec 2014 06:00:59 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19597 Received: (qmail 14653 invoked from network); 19 Dec 2014 06:00:57 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Authority-Analysis: v=2.1 cv=T/C1EZ6Q c=1 sm=1 tr=0 a=7RdanbHzwoPNWkp1ouN4hg==:117 a=7RdanbHzwoPNWkp1ouN4hg==:17 a=G8GL833Es-AA:10 a=N659UExz7-8A:10 a=CwkIfnL_M7a9lPda--IA:9 a=pILNOxqGKmIA:10 Message-id: <5493BF15.70703@eastlink.ca> Date: Thu, 18 Dec 2014 22:00:53 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-version: 1.0 To: zsh-users@zsh.org Subject: Re: surprise with echo References: <54937E5B.2020008@eastlink.ca> <141218190653.ZM16331@torch.brasslantern.com> In-reply-to: <141218190653.ZM16331@torch.brasslantern.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit On 12/18/2014 07:06 PM, Bart Schaefer wrote: > RC_EXPAND_PARAM (-P) > Array expansions of the form `FOO${XX}BAR', where the parameter XX > is set to (A B C), are substituted with `FOOABAR FOOBBAR FOOCBAR' > instead of the default `FOOA B CBAR'. Note that an empty array > will therefore cause all arguments to be removed. Nuts, at the time it didn't sink in that a function with no arguments matches that situation ... and then I go on to suggest that very thing myself. Pardon, that was thick headed. Still, it is a bit brutal. Nevermind, it's there when needed.