From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2552 invoked by alias); 11 Oct 2012 09:05:30 -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: 17319 Received: (qmail 10560 invoked from network); 11 Oct 2012 09:05:27 -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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at linux.vnet.ibm.com does not designate permitted sender hosts) Date: Thu, 11 Oct 2012 16:55:06 +0800 From: Han Pingtian To: zsh-users@zsh.org Subject: RC_EXPAND_PARAM and (s:string:) Message-ID: <20121011085506.GA9211@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12101108-2398-0000-0000-00000C2D18BB X-IBM-ISS-SpamDetectors: X-IBM-ISS-DetailInfo: BY=3.00000294; HX=3.00000196; KW=3.00000007; PH=3.00000001; SC=3.00000008; SDB=6.00181494; UDB=6.00041107; UTC=2012-10-11 08:55:14 Hello, I just found this: % zsh -c 'setopt rcexpandparam ;line="one::three";print -l "${(s.:.)line}"' one three % According to manpage of zshexpn, the empty elements of arrays which generated by splitting won't be retained inside double quotes. But looks like rcexpandparam can change this condition. Not sure if this is a problem. Thanks in advance.