From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24026 invoked by alias); 19 Dec 2014 11:27:23 -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: 19610 Received: (qmail 5025 invoked from network); 19 Dec 2014 11:27:10 -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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1418988087; bh=npbcF4jFXSjJp5CCpEiyS5ePmDLrWxgcfmvz2u65Gw0=; h=In-reply-to:From:References:To:Subject:Date:From:Subject; b=XEf/JLiJkBcUQa1x58nrFlpqM1X+PMbx7CeCeTiG/mBOCXynKqo1Vnmvk8vBal3FyYCUp1fNFmwUrfH0fzGSR/BLrKPj24Tt5N+EtqzaRvbFmINhmP3ObY7t5z6g0aPWkYq+0Kvu4yG0o4dVgDz5e/q3kQaudgh/oBq7raaYvagzgFN9OhEQOdjMGvqRsKTitZl8T4Qk2cHYccOJTgBV1x6WH7aDRFB2V9TbN8GBaaLa7pjScJ/v8Lf+dnqL8g/RNkvKrejBcSKp2ynujCrn4ZBLB2qkJHjwzEqoh/hw2FZq4W5ggOnkEi80USsryuCb895eA6oOCZEQ5ZlJzocfvA== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.co.uk; b=Nx0c9LlCq83E4YgkPYj/u2SPW51jwV//7RS7GToPHE/srKZ9Y+8iiJ6iLJ3EEAqEy/lE6XfORykZEsoUuOTq0giVwMznx0+11e4qR9n8y4AQnLfi0yjbqkSd0HuQgXv7twAZLqngLDoHCxKZ2Rx0cXcJ0CTxE6qHZbTSSJuHJSbzhO0TNFenXiKETM3qidkBSACGys2g0fGnLo+DOOitUaPCEb4LkLtOI0T79bP/FV3vNKa4xt1Tw1EejGAE1vLZvOWhGAqMRV4kalYE+PdPBtSYRR20yhQboTytrwySeOi1dSeXFQUI1CRLSAMDzJbvnKY1se2vsruFVAae08P6bg==; X-Yahoo-Newman-Id: 886522.48331.bm@smtp103.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: YmbGqOYVM1kN0A.zaVLe8b2W5xZMyRG0QdK_NLgYJ0kzvV2 Z8FaVq2cw5g9JKlObhHnDeY.evZVtIswYuWaec0UnF.xF_JiJN0gZk9adnDP .ywEa3e.pCFUXmNR.3aGofz_sn4onbl7zxUMbuzS6tIlev8fGDgu1gXeiyuS l2EH8GA3XgP2yvwTcKB8uuQT0hgCv6.PFFILMQYRzwyMyprtN1rTV3R7kY_2 7zHkTixGwQDw5e.2QCkZFKCq_bgHAJ6j9ZNEAf5L4zbvpmCILp8l4WGV3crY Vtwmqw0rbYFrmmvWpys2X7D2D3hvEYPvq95IUAK1b9ZTPfCYdUe5Pht_ZIoZ g.C7apl1qml8Eh6RRotEAsHetjPxg8SziEvZPTKPTXTMd.RI04oo0fTlPN4J lacQx_HFUyOQn1FiQshjam6QS6wagHxrQGSl3yLREKHmOafEIsP96vD9j4jo RarXm7YFJleS8lk.3.EB8B1YFSNjmOs_R6eavT2.38i5t7fTb.Uo0n7.e_h6 twa4p4r.qY_BfsQlR X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- In-reply-to: From: Oliver Kiddle References: <54937E5B.2020008@eastlink.ca> <141218190653.ZM16331@torch.brasslantern.com> To: Zsh Users Subject: Re: surprise with echo MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20334.1418988086.1@thecus.kiddle.eu> Date: Fri, 19 Dec 2014 12:21:26 +0100 Message-ID: <20335.1418988086@thecus.kiddle.eu> Kurtis Rader wrote: > It is possible, even likely, I'm missing the point of the RC_EXPAND_PARAM > emulation option since I've never used the Plan 9 rc shell before today. If I've never regarded the rc_expand_param and rc_quotes options as being there to emulate rc. They are merely inspired by rc. Both are useful features and are worth enabling in an interactive configuration but don't expect your rc scripts to even come close to working in zsh. Note in particular that in rc, ^ is a special operator for joining strings. rc_expand_param doesn't enable support for that. Incidentally, I have actually used rc for a while because it was the default shell on the CS department systems at the university I went to. In terms of syntax and design, it is much better than sh but also about as functional as sh from an interactive perspective. > On Thu, Dec 18, 2014 at 7:06 PM, Bart Schaefer > wrote: > > > > Only by turning off the option, or by doing e.g. ${@:-''} so that the > > expansion is the empty string rather than the empty array. $^^@ will also do the job of disabling the option. Oliver