Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Behavior change in ${...//...}
- X-seq: zsh-users 6520
- From: Danek Duvall <duvall@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Behavior change in ${...//...}
- Date: Wed, 3 Sep 2003 13:29:53 -0700
- Mail-followup-to: Danek Duvall <duvall@xxxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author