From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28325 invoked by alias); 9 Apr 2010 11:00:09 -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: 14992 Received: (qmail 8331 invoked from network); 9 Apr 2010 11:00:07 -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=-1.1 required=5.0 tests=BAYES_00,RCVD_IN_SORBS_WEB autolearn=no version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at biskalar.de does not designate permitted sender hosts) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1078) Subject: Re: Count only visible characters? From: Sebastian Stark In-Reply-To: <87d3y90z07.fsf@ft.bewatermyfriend.org> Date: Fri, 9 Apr 2010 12:44:06 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201004091102.55291.joke@seiken.de> <87d3y90z07.fsf@ft.bewatermyfriend.org> To: zsh-users@zsh.org X-Mailer: Apple Mail (2.1078) Hi, I was playing around with colors because of this post and noticed = something strange along the way: % echo $ZSH_VERSION 4.3.10 % print "${(%)a::=3D3D%F{green}hello}" hello} % print "${(%)a::=3D3D%F{green}hello" hello Why does the first print statement print the closing brace? How can the = second print statement not produce an error? Sebastian