From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22689 invoked by alias); 11 May 2011 17:43:27 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29236 Received: (qmail 12717 invoked from network); 11 May 2011 17:43:25 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) 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.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.212.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=aZ6KfHjdFXxNwwgSJ1ND98z9l4dvuSpk1cMRoAyjBLk=; b=tFvyliGwah3ASwXeIdcUe2OSzKV0I0CVrY+L0w99GBL2CGsdaGHPs2cJ1EQkVSM0xZ YpltAxmN5B0kuqdAdE/LVgwEv4E7Am9d62nharIPlmdXrlepfGDnlD5OZNdHUUi51Io6 Jce2jtN3dAZgYxEraNWSRIhoWrXW/sZJegkls= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=BdYYNNI853pKSfaAfkjNtzx7UzPztqkugG8XzTL+PiwUnOR+QltmWNfaOIhUGL8Zgl u2KBUMLD65nQdMAd6YL8lGe5apfTGh3ETqXAvUBVAw0SseqqGXeRU21qQeagIm1LRhrL Vhz29eHAe5h3syM1SdEHmtRnE8mLNwwnCVkqw= MIME-Version: 1.0 In-Reply-To: <20110511182657.2d1d99ae@pwslap01u.europe.root.pri> References: <1305118971-25617-1-git-send-email-mikachu@gmail.com> <20110511172114.56080d04@pwslap01u.europe.root.pri> <20110511180748.18f4e67e@pwslap01u.europe.root.pri> <20110511182657.2d1d99ae@pwslap01u.europe.root.pri> Date: Wed, 11 May 2011 19:43:00 +0200 Message-ID: Subject: Re: PATCH: expanding parameters like echo/print builtins From: Mikael Magnusson To: Peter Stephenson Cc: zsh-workers@zsh.org Content-Type: text/plain; charset=UTF-8 On 11 May 2011 19:26, Peter Stephenson wrote: > On Wed, 11 May 2011 19:19:51 +0200 > Mikael Magnusson wrote: >> (Should the order >> parameter expansion flags are applied in be documented somewhere?) > > It's documented in *immense* detail in the subsection "Rules" under > Parameter Expansion, but even the 23 existing rules don't cover > everything. Feel free to add another one. Actually, (V) is covered, at > rule 15, so maybe you just missed it. What I meant was that the relation between V and g:: isn't documented, but yeah, I did miss the whole list :). Here's a patch, minus the renumbering of subsequent items. Any better names than echo-type expansion? :) --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -1305,6 +1305,9 @@ is applied. item(tt(12.) em(Prompt evaluation))( Any prompt-style formatting from the tt((%)) family of flags is applied. ) +item(tt(13.) em(Echo-type expansion))( +Any expansion from the tt((g)) flag is applied. +) item(tt(13.) em(Quote application))( Any quoting or unquoting using tt((q)) and tt((Q)) and related flags is applied. -- Mikael Magnusson