From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 87 invoked by alias); 20 Mar 2012 08:57:17 -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: 16912 Received: (qmail 316 invoked from network); 20 Mar 2012 08:57:16 -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=-1.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 74.125.82.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=+hzGRXnQJoDgG2V9wyAkjkKM0pRGPgddy88iMNIJi/Y=; b=Qs1aE0bxvlejbCI0kRlxW2ZktoxNfv4IueXe2JjB6PB/4o/YvdWIXHaTAsXuYEsCX3 jHvk3JREzWd8XxioWoeJiISlZQaSmyhRR9+FNSV4h6VR6SGPflQz+1Lhx6lAb1dJ5KTn biGk4ZBGXQAi4gtGlg1LiBOqYolgFhKIHYrhzv0MAeSATDdC+6HMNr5KECyPWzuswsQh PbSAsk7WZZKqVCZs1ukCvUHHfM1002XVsybstt0MPjVSyPojevW4w3mFwtcB6ZrJAMbT 05zZZoQ4HImTW7AxFfk78/sMMZ56NHJg2Ap4n1PfzbajLCFxhUyzTbGHdvw0l0diSdss YTzQ== MIME-Version: 1.0 In-Reply-To: <20120320083214.GA3818@lilyforest> References: <20120320083214.GA3818@lilyforest> Date: Tue, 20 Mar 2012 09:57:08 +0100 Message-ID: Subject: Re: Why the l parameter flag in this case not work? From: =?UTF-8?Q?Damien_Th=C3=A9bault?= To: zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 On Tue, Mar 20, 2012 at 09:32, lilydjwg wrote: > I tried to print a line of `-' but not work: > > print ${(l.80..-.)} > > An empty line is printed. However, printing a line of `=' or other > strings do work: > > print ${(l.80..+.)} > > I tried to quote `-', but only 40 `-'s are printed: > > print ${(l.80..\-.)} > The "print" command is intepreting the expanded expression as an argument, you can use "echo" or use "--" to tell the "print" command that the end of arguments has been reached: echo ${(l.80..-.)} print -- ${(l.80..-.)} Regards, -- Damien Thebault