From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13392 invoked from network); 13 Mar 2004 06:25:14 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 13 Mar 2004 06:25:14 -0000 Received: (qmail 20924 invoked by alias); 13 Mar 2004 06:25:01 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7167 Received: (qmail 20852 invoked from network); 13 Mar 2004 06:25:00 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 13 Mar 2004 06:25:00 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [167.160.213.139] by sunsite.dk (MessageWall 1.0.8) with SMTP; 13 Mar 2004 6:25:0 -0000 Received: from moonbase.zanshin.com (IDENT:schaefer@localhost [127.0.0.1]) by moonbase.zanshin.com (8.12.11/8.12.11) with ESMTP id i2D6OxFw006553 for ; Fri, 12 Mar 2004 22:24:59 -0800 Received: (from schaefer@localhost) by moonbase.zanshin.com (8.12.11/8.12.11/Submit) id i2D6OxQe006552 for zsh-users@sunsite.dk; Fri, 12 Mar 2004 22:24:59 -0800 Received: (from schaefer@localhost) by candle.brasslantern.com (8.11.6/8.11.6) id i2D6Osb28737; Fri, 12 Mar 2004 22:24:54 -0800 X-Authentication-Warning: candle.brasslantern.com: schaefer set sender to schaefer@closedmail.com using -f From: Bart Schaefer Message-Id: <1040313062454.ZM28736@candle.brasslantern.com> Date: Sat, 13 Mar 2004 06:24:54 +0000 In-Reply-To: <16tfmamy8a3c9.dlg@thorstenkampe.de> Comments: In reply to Thorsten Kampe "Re: Justifying text output" (Mar 13, 12:24am) References: <1mm7og67rpkdy.dlg@thorstenkampe.de> <1040312105556.ZM22295@candle.brasslantern.com> <16tfmamy8a3c9.dlg@thorstenkampe.de> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-users@sunsite.dk Subject: Re: Justifying text output MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Envelope-Sender: On Mar 13, 12:24am, Thorsten Kampe wrote: } Subject: Re: Justifying text output } } * Bart Schaefer (2004-03-12 11:55 +0100) } > } > echo ${(r:70:):-"${ltgreen}* ${white}compiling $file"}"[ ${ltgreen}ok ${white}]" } } I'm sorry but that outputs something like this: } * [ ok ] compiling [ ok ] [ ok ] I think you must have gotten some double-quotes or curly-braces in the wrong place, somehow. Or something. schaefer[501] file=somerandomstring schaefer[502] echo ${(r:70:):-"${ltgreen}* ${white}compiling $file"}"[ ${ltgreen}ok ${white}]" * compiling somerandomstring [ ok ] schaefer[503]