Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Count only visible characters?
- X-seq: zsh-users 14992
- From: Sebastian Stark <seb-zsh@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Count only visible characters?
- Date: Fri, 9 Apr 2010 12:44:06 +0200
- In-reply-to: <87d3y90z07.fsf@xxxxxxxxxxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <loom.20100409T002951-342@xxxxxxxxxxxxxx> <201004091102.55291.joke@xxxxxxxxx> <87d3y90z07.fsf@xxxxxxxxxxxxxxxxxxxxxx>
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::=3D%F{green}hello}"
hello}
% print "${(%)a::=3D%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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author