zsh-users
 help / color / mirror / code / Atom feed
From: Danek Duvall <duvall@emufarm.org>
To: zsh-users@sunsite.dk
Subject: Behavior change in ${...//...}
Date: Wed, 3 Sep 2003 13:29:53 -0700	[thread overview]
Message-ID: <20030903202953.GB19734@lorien.emufarm.org> (raw)

Between 4.0.x and 4.1.1, the requirements to quote a "/" in the
replacement part of a ${name//pattern/repl} expression changed from two
backslashes to one.  The new syntax doesn't work in the old versions and
vice versa.

When did this change, and why?  Is the best way to work around this to
put the replacement string in a variable?

Thanks,
Danek


             reply	other threads:[~2003-09-03 20:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-03 20:29 Danek Duvall [this message]
2003-09-04  9:28 ` Peter Stephenson
2003-09-04 20:08   ` Danek Duvall

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=20030903202953.GB19734@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).