Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: treatment of empty strings - why is this not a bug?
- X-seq: zsh-workers 26305
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Zsh list <zsh-workers@xxxxxxxxxx>
- Subject: Re: treatment of empty strings - why is this not a bug?
- Date: Tue, 13 Jan 2009 19:24:09 +0000
- In-reply-to: <18796.17298.94642.461735@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <18796.17298.94642.461735@xxxxxxxxxxxxxxxxxx>
On Tue, 13 Jan 2009 02:32:34 -0500
Greg Klanderman <gak@xxxxxxxxxxxxxx> wrote:
> lwm% x=::: && for v in "${(s-:-)x}" ; do echo "v= =>$v<=" ; done
> v= =><=
> v= =><=
Hmm...
% setopt rcexpandparam
% x=::: && for v in "${(s-:-)x}" ; do echo "v= =>$v<=" ; done
v= =><=
v= =><=
v= =><=
v= =><=
What's this got to do with RC_EXPAND_PARAM and why is the behaviour
without that option not a bug? Er... I'm very glad you asked.
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author