Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Behavior change in ${...//...}
- X-seq: zsh-users 6524
- From: Danek Duvall <duvall@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Behavior change in ${...//...}
- Date: Thu, 4 Sep 2003 13:08:19 -0700
- In-reply-to: <6728.1062667692@xxxxxxx>
- Mail-followup-to: Danek Duvall <duvall@xxxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20030903202953.GB19734@xxxxxxxxxxxxxxxxxx> <6728.1062667692@xxxxxxx>
On Thu, Sep 04, 2003 at 10:28:12AM +0100, Peter Stephenson wrote:
> See the README file for 4.0.7.
Ah, thanks. I saw the change in the man page, but was only looking at
the 4.1.1 sources, and didn't see any reference to the change.
> Note also the following workaround which is valid in all versions of the
> shell that support this syntax:
> % slash=/
> % foo=word/bird
> % print ${foo/$slash/-} "${foo/$slash/+}"
As it turned out (not too long after I sent my query), this was easier
for me to do than I had expected, and so I no longer needed some test
for which behavior to use.
Thanks,
Danek
Messages sorted by:
Reverse Date,
Date,
Thread,
Author