From: Danek Duvall <duvall@emufarm.org>
To: zsh-users@sunsite.dk
Subject: Re: Behavior change in ${...//...}
Date: Thu, 4 Sep 2003 13:08:19 -0700 [thread overview]
Message-ID: <20030904200819.GC32265@lorien.emufarm.org> (raw)
In-Reply-To: <6728.1062667692@csr.com>
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
prev parent reply other threads:[~2003-09-04 20:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-03 20:29 Danek Duvall
2003-09-04 9:28 ` Peter Stephenson
2003-09-04 20:08 ` Danek Duvall [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030904200819.GC32265@lorien.emufarm.org \
--to=duvall@emufarm.org \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).