From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28535 invoked by alias); 24 Nov 2014 10:21:39 -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: 19422 Received: (qmail 13877 invoked from network); 24 Nov 2014 10:21:38 -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.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent; bh=ZKKQ9qFC9llI8am/jacSf/j0o25mde+aJB3RDmyFQyE=; b=U/WQfSSHHjgR5n25LTT3SuX+V+6EZwwPeNPHCx4AWbVL1WQheG+icu2FDkrkCCCIwp 7efOo4O/9KQSY1gp6l0F355hseu44AwH8mEjuqOfKUOdkEk/X63WLPLN2sJR2ZD7Y+b9 MuQx84FnUedneyvVk1kzLv9tY6PIzwymiL/YY8dCbInvhUlvyYL7tVNwUqWdiElmtcey 2h5/oPIrOvQr2X6++KTPmw4wfK8ctYkbJYiTCCxg+hIE3LAgD1TXl/Icx7R4RR1h0LzT kdpSv/MCliYMa2miJcYOTa7YC/lbcXcy5UcFrnzBTt+PxuL/c7CERiJatXzz1lTr/PL7 UvoQ== X-Received: by 10.180.186.40 with SMTP id fh8mr19827613wic.40.1416822999560; Mon, 24 Nov 2014 01:56:39 -0800 (PST) Date: Mon, 24 Nov 2014 09:56:37 +0000 From: Stephane Chazelas To: Zsh hackers list Subject: ${^var} and word splitting Message-ID: <20141124095637.GA5716@chaz.gmail.com> Mail-Followup-To: Zsh hackers list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) $ a=' 1 2 3 ' $ print -l $=a 1 2 3 $ print -l x$^=a x x1 x2 x3 x $ print -l x${^${=a}} x1 x2 x3 Why the extra "x" lines with x$^=a ? Same for the (s:sep:) or (f) expansion flags. -- Stephane