From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16440 invoked by alias); 19 Dec 2014 06:09:52 -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: 19600 Received: (qmail 11371 invoked from network); 19 Dec 2014 06:09:51 -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 MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=windows-1252; format=flowed 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=1sQacFuuT-kTeNqYqFoA:9 a=pILNOxqGKmIA:10 Message-id: <5493C12D.6010009@eastlink.ca> Date: Thu, 18 Dec 2014 22:09:49 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.2.0 To: =?windows-1252?Q?Lawrence_Vel=E1zquez?= Cc: zsh-users@zsh.org Subject: Re: surprise with echo References: <54937E5B.2020008@eastlink.ca> <141218190653.ZM16331@torch.brasslantern.com> In-reply-to: On 12/18/2014 07:20 PM, Lawrence Velázquez wrote: > You're making quite a few assumptions about how positional parameters > and array substitution work. I only just started experimenting with it. In the case I mentioned, it just took me by surprise that it killed the whole string. It was in a function that had just ignored any null strings, then I set the option and the function was busted. Now I know why, so it's all fine. To be honest it never even occurred to me that command line args would be affected. Anyway I get it now, thanks.